[MacPorts] #16120: port "qt4-mac" version "4.4.0" revision 3 -- wrong library path in all pkg-config files
#16120: port "qt4-mac" version "4.4.0" revision 3 -- wrong library path in all pkg-config files -------------------------------------+-------------------------------------- Reporter: jens.traube@t-online.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: pkg-config | -------------------------------------+-------------------------------------- All pkg-config files of port "qt4-mac" contain a library path, which is a path to the "lib" directory in the build directory: Libs: (...) -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_qt4-mac/work /qt-mac-opensource-src-4.4.0/lib (...) ( discovered in QtCore.pc, QtGui.pc, QtXml.pc, and QtTest.pc -- see Ticket #16055) -- Ticket URL: <http://trac.macports.org/ticket/16120> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16120: port "qt4-mac" version "4.4.0" revision 3 -- wrong library path in all pkg-config files --------------------------------------+------------------------------------- Reporter: jens.traube@t-online.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: pkg-config --------------------------------------+------------------------------------- Comment (by clubjuggler@gmail.com): Thanks for the heads up. I assume the fix in Ticket #16055 where you just fix the paths in a post-configure section would probably work in the qt4-mac portfile (except we'd change them in the .pc files). Reference (from Ticket #16055): post-configure { # wrong library path in pkgconfig files *.pc of port qt4-mac reinplace "s|-L${portdbpath}/build/.*/lib||g" ${worksrcpath}/Makefile } And, in fact, looking at how some linux distributions package QT4 (Ubuntu Hardy), they do the exact same thing to fix the pkgconfig paths. Ok, I'll put together a patch to the portfile and upload it after I get a chance to test it. -- Ticket URL: <http://trac.macports.org/ticket/16120#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16120: port "qt4-mac" version "4.4.0" revision 3 -- wrong library path in all pkg-config files --------------------------------------+------------------------------------- Reporter: jens.traube@t-online.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: pkg-config --------------------------------------+------------------------------------- Comment (by jens.traube@t-online.de): Replying to [comment:1 clubjuggler@gmail.com]: Thank you -- Ticket URL: <http://trac.macports.org/ticket/16120#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16120: port "qt4-mac" version "4.4.0" revision 3 -- wrong library path in all pkg-config files --------------------------------------+------------------------------------- Reporter: jens.traube@t-online.de | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: pkg-config Port: | --------------------------------------+------------------------------------- Comment(by mcalhoun@macports.org): There is a proposed fix in #16862 which hopefully would fix this as well. -- Ticket URL: <http://trac.macports.org/ticket/16120#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16120: port "qt4-mac" version "4.4.0" revision 3 -- wrong library path in all pkg-config files --------------------------------------+------------------------------------- Reporter: jens.traube@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: pkg-config Port: | --------------------------------------+------------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => fixed Comment: Fixed in r44204. -- Ticket URL: <http://trac.macports.org/ticket/16120#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts