[MacPorts] #69214: qt6: *.pc files required by pkg-config are missing

MacPorts noreply at macports.org
Fri Sep 20 04:42:17 UTC 2024


#69214: qt6: *.pc files required by pkg-config are missing
---------------------+---------------------------------
  Reporter:  jyssh   |      Owner:  MarcusCalhoun-Lopez
      Type:  defect  |     Status:  assigned
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:
      Port:  qt6     |
---------------------+---------------------------------

Comment (by i0ntempest):

 Replying to [comment:6 reneeotten]:
 > Replying to [comment:5 i0ntempest]:
 > > A trivial patch removing the condition on that variable can get those
 *.pc files installed. Is that something we want to do?
 > >
 > > I got to this when trying to make gnuplot link Qt6, and gnuplot relies
 on pkgconfig to find Qt.
 >
 > It's easy to get rid of the test for a framework-installation and have
 it install .pc files. However, from a quick look in the upstream tickets
 and code I don't think that these pkg-config files are actually correct.
 But admittedly, I haven't tried it so if you did try this out locally and
 verified that all the .pc files are correct with respect to linking within
 the framework-install and flags and such, then yes we could consider
 enabling it. But my understanding is that there will be more patching
 required..

 Yea you're probably correct, just having those *.px files wasn't enough
 for gnuplot to build with Qt6.

-- 
Ticket URL: <https://trac.macports.org/ticket/69214#comment:7>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list