Skip to content

Commit

Permalink
Replace hard-coded paths to /usr/pkg with $ENV{BUILDLINK_DIR} and remove
Browse files Browse the repository at this point in the history
a hard-coded path to /usr/local/bin altogether.  This usage is consistent
with other paths already in the same file.
  • Loading branch information
brook committed Sep 17, 2011
1 parent 6674ca0 commit c56f8cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mk/cmake-Modules/Platform/UnixPaths.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ GET_FILENAME_COMPONENT(_CMAKE_INSTALL_DIR "${_CMAKE_INSTALL_DIR}" PATH)

LIST(APPEND CMAKE_SYSTEM_PREFIX_PATH
# Standard
/ /usr /usr/pkg
/ /usr $ENV{BUILDLINK_DIR}
)

SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH}
Expand All @@ -20,7 +20,7 @@ SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH}
)

SET(CMAKE_SYSTEM_PROGRAM_PATH ${CMAKE_SYSTEM_PROGRAM_PATH}
/bin /usr/bin /usr/local/bin /usr/pkg/bin /sbin
/bin /usr/bin $ENV{BUILDLINK_DIR}/bin /sbin
)

LIST(APPEND CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
Expand Down

0 comments on commit c56f8cd

Please sign in to comment.