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

MacPorts noreply at macports.org
Wed Aug 12 00:50:41 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:8 kencu]:
 > That indeed seems pretty neat and tidy.
 >
 > Now, thinking caps on, is there any downside that we can anticipate?
 >
 > Whenever we change software to work differently like this, it will
 probably, eventually, bite someone somehow. I think this is a minor patch,
 and serves our purposes quite well, with minimal risk for causing
 unexpected trouble. Certainly much easier than spec'ing pkg-config (and
 maybe cmake) all the time...

 Only thing I can think of is if meson is being used to cross-compile for
 another system, but then again they will provide their own cross file and
 that can include the needed pkgconfig/cmake wrappers to use

 Also tested building {{{dav1d}}} +universal and no issues

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


More information about the macports-tickets mailing list