<pre style='margin:0'>
Lawrence Velázquez (larryv) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/75209cc6669fdec4704f05999dbe29dc8d783404">https://github.com/macports/macports-ports/commit/75209cc6669fdec4704f05999dbe29dc8d783404</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 75209cc6669fdec4704f05999dbe29dc8d783404
</span>Author: Lawrence Velázquez <larryv@macports.org>
AuthorDate: Mon Nov 14 14:55:27 2016 -0500
<span style='display:block; white-space:pre;color:#404040;'> python26: Consolidate Yosemite patches
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> There aren't enough changes to merit two separate patches. Also:
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Add an informative patch header.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> - Don't modify configure.in, which we don't even use.
</span>---
lang/python26/Portfile | 7 +-
lang/python26/files/yosemite-configure-fixes.patch | 114 ---------------------
...{yosemite-python-fixes.patch => yosemite.patch} | 72 +++++++++++++
3 files changed, 74 insertions(+), 119 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python26/Portfile b/lang/python26/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index bb6fc56..3cffadb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python26/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,11 +45,8 @@ patchfiles patch-Makefile.pre.in.diff \
</span> patch-setup.py-db46.diff \
patch-Lib-ctypes-macholib-dyld.py.diff \
patch-setup.py-disabled_modules.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-libedit.diff
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# http://bugs.python.org/issue21811
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append yosemite-configure-fixes.patch \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- yosemite-python-fixes.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-libedit.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ yosemite.patch
</span>
depends_lib port:gettext port:zlib path:lib/libssl.dylib:openssl \
port:sqlite3 port:db46 port:ncurses \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python26/files/yosemite-configure-fixes.patch b/lang/python26/files/yosemite-configure-fixes.patch
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 111589f..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python26/files/yosemite-configure-fixes.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,114 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Index: configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-===================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -5313,8 +5313,14 @@ $as_echo "$CC" >&6; }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Calculate the right deployment target for this build.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- cur_target=`sw_vers -productVersion | sed 's/\(10\.[0-9]*\).*/\1/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if test ${cur_target} '>' 10.2; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ cur_target_major=`sw_vers -productVersion | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ cur_target_minor=`sw_vers -productVersion | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ cur_target="${cur_target_major}.${cur_target_minor}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if test ${cur_target_major} -eq 10 && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ test ${cur_target_minor} -ge 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cur_target=10.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test ${enable_universalsdk}; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "${UNIVERSAL_ARCHS}" = "all"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -7366,14 +7372,14 @@ then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Use -undefined dynamic_lookup whenever possible (10.3 and later).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # This allows an extension to be used in any Python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if test ${MACOSX_DEPLOYMENT_TARGET} '>' 10.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ dep_target_major=`echo ${MACOSX_DEPLOYMENT_TARGET} | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ dep_target_minor=`echo ${MACOSX_DEPLOYMENT_TARGET} | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if test ${dep_target_major} -eq 10 && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ test ${dep_target_minor} -le 2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if test "${enable_universalsdk}"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- BLDSHARED="$LDSHARED"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # building for OS X 10.0 through 10.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDSHARED='$(CC) $(LDFLAGS) -bundle'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "$enable_framework" ; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Link against the framework. All externals should be defined.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -7384,6 +7390,13 @@ then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # building for OS X 10.3 and later
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if test "${enable_universalsdk}"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ BLDSHARED="$LDSHARED"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Linux*|GNU*|QNX*) LDSHARED='$(CC) -shared';;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Index: configure.in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-===================================================================
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- configure.in.orig
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ configure.in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1011,8 +1011,14 @@ yes)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Calculate the right deployment target for this build.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- cur_target=`sw_vers -productVersion | sed 's/\(10\.[[0-9]]*\).*/\1/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if test ${cur_target} '>' 10.2; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ cur_target_major=`sw_vers -productVersion | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ cur_target_minor=`sw_vers -productVersion | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ cur_target="${cur_target_major}.${cur_target_minor}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if test ${cur_target_major} -eq 10 && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ test ${cur_target_minor} -ge 3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- cur_target=10.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test ${enable_universalsdk}; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "${UNIVERSAL_ARCHS}" = "all"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1809,14 +1815,14 @@ then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Use -undefined dynamic_lookup whenever possible (10.3 and later).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # This allows an extension to be used in any Python
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if test ${MACOSX_DEPLOYMENT_TARGET} '>' 10.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ dep_target_major=`echo ${MACOSX_DEPLOYMENT_TARGET} | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\1/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ dep_target_minor=`echo ${MACOSX_DEPLOYMENT_TARGET} | \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ sed 's/\([[0-9]]*\)\.\([[0-9]]*\).*/\2/'`
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if test ${dep_target_major} -eq 10 && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ test ${dep_target_minor} -le 2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- if test "${enable_universalsdk}"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- BLDSHARED="$LDSHARED"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # building for OS X 10.0 through 10.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDSHARED='$(CC) $(LDFLAGS) -bundle'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if test "$enable_framework" ; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Link against the framework. All externals should be defined.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1827,6 +1833,13 @@ then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ # building for OS X 10.3 and later
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ if test "${enable_universalsdk}"; then
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ BLDSHARED="$LDSHARED"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ;;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Linux*|GNU*|QNX*) LDSHARED='$(CC) -shared';;
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python26/files/yosemite-python-fixes.patch b/lang/python26/files/yosemite.patch
</span>similarity index 52%
rename from lang/python26/files/yosemite-python-fixes.patch
rename to lang/python26/files/yosemite.patch
<span style='display:block; white-space:pre;color:#808080;'>index 4699283..51cb17a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python26/files/yosemite-python-fixes.patch
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python26/files/yosemite.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,3 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Anticipated fixes for OS X 10.10 Yosemite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+[Python Issue #21811] -- http://bugs.python.org/issue21811
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+[MacPorts Ticket #44994] -- https://trac.macports.org/ticket/44994
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix various bits of version detection that assumed that the OS minor
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version would always be a single digit.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Originally fixed in 2.7 by Ned Deily <nad@acm.org>:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- https://hg.python.org/cpython/rev/a7ab09e00dbc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- https://hg.python.org/cpython/rev/2672e30d9095
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Adapted for 2.6.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Signed-off-by: Lawrence Velázquez <larryv@macports.org>
</span> Index: Lib/distutils/util.py
===================================================================
--- Lib/distutils/util.py.orig
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -74,6 +89,63 @@ Index: Mac/BuildScript/build-installer.py
</span>
print "Settings:"
print " * Source directory:", SRCDIR
<span style='display:block; white-space:pre;background:#e0ffe0;'>+Index: configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+===================================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5313,8 +5313,14 @@ $as_echo "$CC" >&6; }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Calculate the right deployment target for this build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- cur_target=`sw_vers -productVersion | sed 's/\(10\.[0-9]*\).*/\1/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test ${cur_target} '>' 10.2; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cur_target_major=`sw_vers -productVersion | \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cur_target_minor=`sw_vers -productVersion | \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cur_target="${cur_target_major}.${cur_target_minor}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if test ${cur_target_major} -eq 10 && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ test ${cur_target_minor} -ge 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cur_target=10.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test ${enable_universalsdk}; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "${UNIVERSAL_ARCHS}" = "all"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7366,14 +7372,14 @@ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Use -undefined dynamic_lookup whenever possible (10.3 and later).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # This allows an extension to be used in any Python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test ${MACOSX_DEPLOYMENT_TARGET} '>' 10.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ dep_target_major=`echo ${MACOSX_DEPLOYMENT_TARGET} | \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ sed 's/\([0-9]*\)\.\([0-9]*\).*/\1/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ dep_target_minor=`echo ${MACOSX_DEPLOYMENT_TARGET} | \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ sed 's/\([0-9]*\)\.\([0-9]*\).*/\2/'`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if test ${dep_target_major} -eq 10 && \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ test ${dep_target_minor} -le 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test "${enable_universalsdk}"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- BLDSHARED="$LDSHARED"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # building for OS X 10.0 through 10.2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDSHARED='$(CC) $(LDFLAGS) -bundle'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "$enable_framework" ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Link against the framework. All externals should be defined.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7384,6 +7390,13 @@ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ BLDSHARED="$LDSHARED "'-bundle_loader $(BUILDPYTHON)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LDSHARED="$LDSHARED "'-bundle_loader $(BINDIR)/python$(VERSION)$(EXE)'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ # building for OS X 10.3 and later
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if test "${enable_universalsdk}"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ BLDSHARED="$LDSHARED"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Linux*|GNU*|QNX*) LDSHARED='$(CC) -shared';;
</span> Index: setup.py
===================================================================
--- setup.py.orig
</pre><pre style='margin:0'>
</pre>