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

MacPorts noreply at macports.org
Thu Aug 13 04:53:36 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 kencu):

 The problem with adding a binaries section is not cmake and pkg-config,
 it's the 100 other restricted binaries we don't know about, like curl-
 config, and llvm-config, and blah blah blah blah blah.

 And - to make it worse -- things like llvm-config are not static, and they
 are set on-the-fly by the Portfile as the port needs.

 So that path -- a static set of binaries listed in the cross file -- is
 not really viable, beyond pkg-config and cmake.

 SO -- we either write full cross file with all the binaries spec'd (which
 is a huge PITA) -- or we patch out that meson change, and revert back to
 it finding the default binaries on the PATH -- which works perfectly well
 for every application we need it to work for in macports, I think.

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


More information about the macports-tickets mailing list