[MacPorts] #41817: CMake @2.8.12_2: remove /sw paths from installed cmake modules
MacPorts
noreply at macports.org
Sat Dec 14 16:39:36 PST 2013
#41817: CMake @2.8.12_2: remove /sw paths from installed cmake modules
---------------------+--------------------------------
Reporter: egall@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.1
Keywords: | Port: CMake
---------------------+--------------------------------
Currently a bunch of cmake modules look in Fink's prefix for stuff:
{{{
Local-Admins-MacBook-Pro:~ root# port -q contents cmake | xargs file |
grep text | cut -d\: -f1 | xargs grep -H /sw
/opt/local/share/cmake-2.8/Modules/FindBoost.cmake: /sw/local/include
/opt/local/share/cmake-2.8/Modules/FindBoost.cmake: /sw/local/lib
/opt/local/share/cmake-2.8/Modules/FindGDAL.cmake: /sw # Fink
/opt/local/share/cmake-2.8/Modules/FindGDAL.cmake: /sw # Fink
/opt/local/share/cmake-2.8/Modules/FindGDAL.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindGTK2.cmake:# * Get module working
under MacOSX fink by adding /sw/include, /sw/lib
/opt/local/share/cmake-2.8/Modules/FindGTK2.cmake: /sw/include
/opt/local/share/cmake-2.8/Modules/FindGTK2.cmake: /sw/lib
/opt/local/share/cmake-2.8/Modules/FindGTK2.cmake: /sw/lib
/opt/local/share/cmake-2.8/Modules/FindLua50.cmake: /sw # Fink
/opt/local/share/cmake-2.8/Modules/FindLua50.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindLua50.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindLua51.cmake: /sw # Fink
/opt/local/share/cmake-2.8/Modules/FindLua51.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindOpenAL.cmake: /sw # Fink
/opt/local/share/cmake-2.8/Modules/FindOpenAL.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindOpenThreads.cmake: /sw #
Fink
/opt/local/share/cmake-2.8/Modules/FindOpenThreads.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindOpenThreads.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindPhysFS.cmake: /sw # Fink
/opt/local/share/cmake-2.8/Modules/FindPhysFS.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindProducer.cmake: /sw/include #
Fink
/opt/local/share/cmake-2.8/Modules/FindProducer.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindSDL.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindSDL_sound.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindSDL_sound.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindSDL_sound.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindSDL_sound.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindSDL_sound.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindSDL_sound.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindSDL_sound.cmake: /sw
/opt/local/share/cmake-2.8/Modules/FindSDL_sound.cmake: /sw
/opt/local/share/cmake-2.8/Modules/Findosg_functions.cmake: /sw
# Fink
/opt/local/share/cmake-2.8/Modules/Findosg_functions.cmake: /sw
# Fink
/opt/local/share/cmake-2.8/Modules/Findosg_functions.cmake: /sw
# Fink
/opt/local/share/cmake-2.8/Modules/Platform/Darwin-
icc.cmake:set(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH}
/sw/include)
/opt/local/share/cmake-2.8/Modules/Platform/Darwin-
icc.cmake:set(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH}
/sw/lib)
/opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake: /sw #
Fink
}}}
I know the boost one in particular has caused build failures for me in the
past. I don't know if it'd be too much work to patch them all, or
reinplace all the instances of `/sw`, but it would probably be worth it to
make sure MacPorts CMake builds do '''not''' find stuff installed with
Fink.
--
Ticket URL: <https://trac.macports.org/ticket/41817>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list