#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 follow-up: 2 Changed 18 years ago by clubjuggler@…
comment:3 Changed 18 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 18 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
| Cc: | mcalhoun@… added |
|---|
Cc Me!
comment:5 Changed 18 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Fixed in r44204.
Note: See
TracTickets for help on using
tickets.

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 {
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.