[MacPorts] #50347: qt4-mac lacks global pkgconfig data

MacPorts noreply at macports.org
Sat Jan 16 15:14:45 PST 2016


#50347: qt4-mac lacks global pkgconfig data
--------------------+--------------------------------
 Reporter:  fw@…    |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.3.4
 Keywords:          |       Port:  qt4-mac
--------------------+--------------------------------
 In tracking down why gpsd can no longer find the qt4 QtNetwork library
 with pkgconfig, I think I found the problem.  The qt5 Portfile has code
 starting at line 1300 as follows:
 {{{
 # put configuration files in places they will be found automatically
 }}}

 However, there is no equivalent in the qt4-mac Portfile.  I suspect that
 this was an oversight related to moving the qt4 files into
 ${prefix}/libexec/qt4/ to allow parallel installations of qt4 and qt5
 (r140960), and that older versions of qt4-mac were "naturally findable" by
 pkg-config.

 In the case of gpsd, this doesn't result in any build errors, since its
 SConstruct script silently (albeit visible with -v) disables the qt option
 when it can't find the QtNetwork library.

-- 
Ticket URL: <https://trac.macports.org/ticket/50347>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list