[MacPorts] #66627: ghostscript fails to configure with universal variant

MacPorts noreply at macports.org
Thu Jan 5 16:56:34 UTC 2023


#66627: ghostscript fails to configure with universal variant
----------------------------+--------------------
  Reporter:  MichaelGDev48  |      Owner:  (none)
      Type:  defect         |     Status:  new
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.8.99
Resolution:                 |   Keywords:
      Port:  ghostscript    |
----------------------------+--------------------

Comment (by kencu):

 This bit in Ghostscript's configure.ac is interesting, and likely relevant
 to the failure I think:
 {{{
 # If the caller has gives a specific pkg-config to use, then
 # use it, and skip the tests.
 if test x"$PKGCONFIG" != x"" ; then
     AC_MSG_NOTICE([Using $PKGCONFIG])
 else
 # this is an unpleasant hack
 # but if we are cross compiling, and there isn't a matching
 # pkconfig for the --host setting, then don't use the 'local'
 # pkconfig at all
   AC_PATH_TOOL(PKGCONFIG, pkg-config)
   if test x"$host" != x"$build" ; then
     dnl pkg-config is used for several tests now...
     AC_PATH_PROG(BUILD_PKGCONFIG, pkg-config)
     if test x"$BUILD_PKGCONFIG" = x"$PKGCONFIG" ; then
       PKGCONFIG=
     fi
   fi
 fi
 }}}

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


More information about the macports-tickets mailing list