[MacPorts] #23538: cmake portgroup does not set install name directory for libraries
MacPorts
noreply at macports.org
Wed Feb 3 07:08:20 PST 2010
#23538: cmake portgroup does not set install name directory for libraries
----------------------------------+-----------------------------------------
Reporter: raphael@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 1.8.2
Keywords: haspatch | Port:
----------------------------------+-----------------------------------------
The cmake portgroup does not set the install name directory for libraries.
This can be set with the parameter
{{{
-DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
}}}
for cmake, see
[http://www.cmake.org/cmake/help/cmake-2-8-docs.html#prop_tgt:INSTALL_NAME_DIR].
I tested all ports that use the cmake portgroup and found out that some
ports install libraries with the wrong install name (physfs, chipmunk,
clucene-devel, eigen) and some other ports (bullet, nifticlib,
OpenSceneGraph-devel, zorba, orocos-kdl, orocos-rtt, flann) manually use
the above parameter or call {{{install_name_tool}}}. The rest either does
not need this parameter (taglib, qhull, strigi, wbxml2) or installs no
library at all (gccxml-devel, newmat, Vidalia).
I'm not sure, who is responsible for the cmake portgroup. I think, the
patch for the cmake portgroup in the attachment can be applied without
affecting ports that already use correct install names without this patch.
--
Ticket URL: <http://trac.macports.org/ticket/23538>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list