[MacPorts] #16120: port "qt4-mac" version "4.4.0" revision 3 -- wrong library path in all pkg-config files

MacPorts noreply at macports.org
Mon Jul 28 10:56:06 PDT 2008


#16120: port "qt4-mac"   version "4.4.0"  revision 3 -- wrong library path in all
pkg-config files
--------------------------------------+-------------------------------------
  Reporter:  jens.traube at t-online.de  |       Owner:  macports-tickets at 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 at 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


More information about the macports-tickets mailing list