[MacPorts] #44596: gmp @6.0.0_0: Autotools incorrectly selects "-undefined suppress" symbol lookup on Yosemite
MacPorts
noreply at macports.org
Sat Sep 13 20:21:21 PDT 2014
#44596: gmp @6.0.0_0: Autotools incorrectly selects "-undefined suppress" symbol
lookup on Yosemite
------------------------+----------------------
Reporter: wichert@… | Owner: larryv@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: yosemite
Port: gmp |
------------------------+----------------------
Comment (by larryv@…):
Perhaps Xcode or Clang/GCC have that default behavior, but there’s no
magic default value for the environment variable. Unless it’s present in
the environment, a script that tries to substitute
`$MACOSX_DEPLOYMENT_TARGET` will get a null value.
So Libtool does the right thing if `MACOSX_DEPLOYMENT_TARGET` is absent
from its environment (the first `case` alternative in [[comment:35|the
code snippet above]]). It only chokes when that variable is explicitly set
to “10.10” (or “10.11” or “10.12” or “10.27”).
The variable is not present in Homebrew’s build environment, so their
build works fine. (I personally tested it. They only require that version
detection tweak that we already got from upstream.)
--
Ticket URL: <https://trac.macports.org/ticket/44596#comment:39>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list