Is MACOSX_DEVELOPMENT_TARGET a thing?

Lawrence Velázquez larryv at macports.org
Wed Jan 7 14:51:04 PST 2015


Note that I said "DEVELOPMENT" and not "DEPLOYMENT".

I came across it while reworking perl5.16's patches. I can't tell
whether it's intentional or a mistake, and my extensive research (one
Google search and one DuckDuckGo search) only turned up other references
to Perl builds.

Has anyone heard of this before?

vq


Index: hints/darwin.sh
===================================================================
--- hints/darwin.sh.orig
+++ hints/darwin.sh
@@ -141,7 +141,6 @@ esac
 
 # Shared library extension is .dylib.
 # Bundle extension is .bundle.
-ld='cc';
 so='dylib';
 dlext='bundle';
 usedl='define';
@@ -182,7 +181,7 @@ case "$osvers" in
 *) 
    lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
    case "$ld" in
-       *MACOSX_DEVELOPMENT_TARGET*) ;;
+       *MACOSX_DEPLOYMENT_TARGET*) ;;
        *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;;
    esac
    ;;


More information about the macports-dev mailing list