Revision
120666
Author
toby@macports.org
Date
2014-06-04 18:15:29 -0700 (Wed, 04 Jun 2014)

Log Message

Fix (by which I mean remove) deployment target check. Breaks Jaguar and earlier, oh the horror!

Modified Paths

Added Paths

Diff

Modified: trunk/dports/lang/python27/Portfile (120665 => 120666)


--- trunk/dports/lang/python27/Portfile	2014-06-05 00:30:17 UTC (rev 120665)
+++ trunk/dports/lang/python27/Portfile	2014-06-05 01:15:29 UTC (rev 120666)
@@ -36,7 +36,8 @@
                     patch-Lib-cgi.py.diff \
                     patch-Lib-ctypes-macholib-dyld.py.diff \
                     patch-configure.diff \
-                    patch-libedit.diff
+                    patch-libedit.diff \
+                    patch-configure-deployment.diff
 
 depends_lib         port:gettext \
                     port:zlib \

Added: trunk/dports/lang/python27/files/patch-configure-deployment.diff (0 => 120666)


--- trunk/dports/lang/python27/files/patch-configure-deployment.diff	                        (rev 0)
+++ trunk/dports/lang/python27/files/patch-configure-deployment.diff	2014-06-05 01:15:29 UTC (rev 120666)
@@ -0,0 +1,11 @@
+--- configure.orig	2014-06-04 18:08:56.000000000 -0700
++++ configure	2014-06-04 18:09:18.000000000 -0700
+@@ -8213,7 +8213,7 @@
+ 		# Use -undefined dynamic_lookup whenever possible (10.3 and later).
+ 		# This allows an extension to be used in any Python
+ 
+-		if test ${MACOSX_DEPLOYMENT_TARGET} '>' 10.2
++		if true
+ 		then
+ 			if test "${enable_universalsdk}"; then
+ 				LDFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${LDFLAGS}"