[MacPorts] #20241: qt4-mac: qmake no longer includes /opt/local/lib as a library path

MacPorts noreply at macports.org
Mon Jul 20 10:09:23 PDT 2009


#20241: qt4-mac: qmake no longer includes /opt/local/lib as a library path
------------------------------+---------------------------------------------
  Reporter:  dh@…             |       Owner:  erickt@…           
      Type:  defect           |      Status:  reopened           
  Priority:  Normal           |   Milestone:                     
 Component:  ports            |     Version:  1.7.1              
Resolution:                   |    Keywords:                     
      Port:  qt4-mac          |  
------------------------------+---------------------------------------------
Changes (by macsforever2000@…):

  * status:  closed => reopened
  * resolution:  invalid =>


Old 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??

New description:

 Revision r53399 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??

--

-- 
Ticket URL: <http://trac.macports.org/ticket/20241#comment:8>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list