Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#16120 closed defect (fixed)

port "qt4-mac" version "4.4.0" revision 3 -- wrong library path in all pkg-config files

Reported by: jens.traube@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: pkg-config Cc: erickt@…, clubjuggler@…, openmaintainer@…, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port:

Description

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)

Change History (6)

comment:1 Changed 16 years ago by clubjuggler@…

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 "sL${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.

comment:2 in reply to:  1 Changed 16 years ago by jens.traube@…

Replying to clubjuggler@gmail.com:

Thank you

comment:3 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

There is a proposed fix in #16862 which hopefully would fix this as well.

comment:4 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:5 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

Fixed in r44204.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.