[MacPorts] #23538: cmake portgroup does not set install name directory for libraries
#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_DI...]. 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
#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: ----------------------------------+----------------------------------------- Changes (by jmr@…): * cc: illogic-al@… (added) Comment: Portgroups don't officially have specific maintainers. The cmake one was originally written by illogic-al. -- Ticket URL: <http://trac.macports.org/ticket/23538#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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: ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Once we apply this patch to the cmake portgroup, we would probably want to deal with all the ports that use the cmake portgroup. Those ports that don't currently install libraries with proper install_names should have their revisions bumped so they're rebuilt. Those that have manual workarounds for this should have them removed, assuming the portgroup will do the same thing. -- Ticket URL: <http://trac.macports.org/ticket/23538#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23538: cmake portgroup does not set install name directory for libraries -----------------------------------+---------------------------------------- Reporter: raphael@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: haspatch Port: | -----------------------------------+---------------------------------------- Changes (by raphael@…): * status: new => closed * resolution: => fixed Comment: I applied the patch to the cmake portgroup in r64576 and bumped the revision of ports that didn't use correct install names in r64577. I also informed all maintainers of cmake portgroup based ports that they can remove their workarounds. -- Ticket URL: <http://trac.macports.org/ticket/23538#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23538: cmake portgroup does not set install name directory for libraries -----------------------------------+---------------------------------------- Reporter: raphael@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: | Keywords: haspatch Port: | -----------------------------------+---------------------------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: fixed => Comment: Forgot to bump the revision of all the ports using the kde4 portgroup, which uses the cmake portgroup. See for example #23732. -- Ticket URL: <http://trac.macports.org/ticket/23538#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23538: cmake portgroup does not set install name directory for libraries -----------------------------------+---------------------------------------- Reporter: raphael@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: haspatch Port: | -----------------------------------+---------------------------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => fixed Comment: The problem with the portgroup is fixed, and it's kind of late to be rev bumping stuff now. -- Ticket URL: <https://trac.macports.org/ticket/23538#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts