[MacPorts] #44204: qt5-mac: wrong pkg-config variables

MacPorts noreply at macports.org
Mon Feb 2 09:30:46 PST 2015


#44204: qt5-mac: wrong pkg-config variables
----------------------+------------------------
  Reporter:  mojca@…  |      Owner:  mcalhoun@…
      Type:  defect   |     Status:  reopened
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  qt5-mac  |
----------------------+------------------------

Comment (by pavel@…):

 brew contains the following hackery to fix this issue:
 https://github.com/Homebrew/homebrew/blob/8d8bca72437591b37907b5ee2f5a1979fbe9c181/Library/Formula/qt5.rb

 # The pkg-config files installed suggest that headers can be found in the
 # `include` directory. Make this so by creating symlinks from `include` to
 # the Frameworks' Headers folders.
 Pathname.glob("#{lib}/*.framework/Headers") do |path|
   include.install_symlink path => path.parent.basename(".framework")
 end

 Looks like a bug in Qt5.

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


More information about the macports-tickets mailing list