Opened 15 years ago

Last modified 15 years ago

#20241 closed defect

qt4-mac: qmake no longer includes /opt/local/lib as a library path — at Initial Version

Reported by: dh@… Owned by: erickt@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc: mcalhoun@…,clubjuggler@…
Port: qt4-mac

Description

Revision 53399 makes a change to how configure is invoked, altering CPATH and LIBRARY_PATH over passing -L to configure.

Downstream, this causes py26-pyqt4 to fail to build as it is unable to find -lpng, as there is no -L${prefix} in the Makefiles generated by qmake.

Perhaps this is the case in any project depending on qt4-mac. Unfortunately qmake is a bit of a mystery to me.

If the Portfile is patched to include -L in the configure args then py26-pyqt4 builds correctly.

I suspect that all of the -isystem and -L flags need to be returned as opposed to manipulating CPATH and LIBRARY_PATH.

Patch attached only adds the -L flag to allow py26-qt4 to build. Probably the other variants need to add -L's over using LIBRARY_PATH as well??

Change History (1)

Changed 15 years ago by dh@…

Attachment: Portfile.patch added
Note: See TracTickets for help on using tickets.