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

MacPorts noreply at macports.org
Tue Aug 11 23:43:15 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):

 Looks like we have a winner!, added the following into {{{post-patch}}}

 {{{
     reinplace
 "s|allow_default_for_cross=False|allow_default_for_cross=True|g"
 ${worksrcpath}/mesonbuild/dependencies/base.py \
 ${worksrcpath}/mesonbuild/cmake/executor.py
 }}}

 Now meson finds pkg-config & cmake when using cross file

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


More information about the macports-tickets mailing list