[MacPorts] #60987: meson: not finding pkg-config when building universal when using cross-files

MacPorts noreply at macports.org
Wed Aug 12 01:11:30 UTC 2020


#60987: meson: not finding pkg-config when building universal when using cross-
files
-----------------------------+--------------------
  Reporter:  kencu           |      Owner:  (none)
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:
Resolution:                  |   Keywords:
      Port:  meson graphene  |
-----------------------------+--------------------

Comment (by Gcenx):

 Replying to [comment:10 kencu]:
 > Thanks!
 >
 > So we now have several options, it appears:
 >
 > 2. We could add PKG_CONFIG to the environment.

 This won't fully resolve meson it still won't find cmake, I believe
 macports-base should already be doing adding this to the environment when
 pkgconfig as listed as a built dependency

 Replying to [comment:13 kencu]:
 > there is some easier-to-read-than-average info about meson here
 <https://docs.mesa3d.org/meson.html#:~:text=Meson%20supports%20cross-
 compilation%20by%20specifying%20a%20number%20of,if%20you%20put%20it%20in%20%24XDG_DATA_HOME%2Fmeson%2Fcross%20or%20~%2F.local%2Fshare%2Fmeson%2Fcross>.

 This seems similar to the example I had followed for my janky workaround,
 I'm leaning towards patching meson

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


More information about the macports-tickets mailing list