[MacPorts] #19781: modify cmake Modules for MacPorts prefix
MacPorts
noreply at macports.org
Tue Jun 2 04:02:12 PDT 2009
#19781: modify cmake Modules for MacPorts prefix
-----------------------------------------+----------------------------------
Reporter: dweber@… | Owner: css@…
Type: enhancement | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.7.1
Keywords: FindITK.cmake cmake modules | Port: cmake
-----------------------------------------+----------------------------------
Comment(by css@…):
According to [http://public.kitware.com/Bug/view.php?id=4950 this CMake
bug], the modules should include /opt/local already. Maybe we should
report upstream which modules ''don't include'' the MacPorts path? Maybe
check for files containing /usr/local/ that don't include /opt/local? Each
file we change places the onus of support on MacPorts.
> The goal is to allow any MacPort installation to rely on cmake modules
to pick up other MacPort libraries automatically, and in preference (with
precedence) to anything similar installed outside of ${prefix} on the
system.
I hope to avoid the need to track down future bugs in the MacPorts-
installed CMake modules, as CMake includes documented
[http://www.cmake.org/cmake/help/cmake2.6docs.html#command:find_path ways
to set additional paths]. If you set a `$CMAKE_PREFIX_PATH` environment
variable to `/opt/local`, does that work without the need to create so
many modifications?
--
Ticket URL: <http://trac.macports.org/ticket/19781#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list