[56663] trunk/dports/lang/python31

jmr at macports.org jmr at macports.org
Mon Aug 31 15:31:19 PDT 2009


Revision: 56663
          http://trac.macports.org/changeset/56663
Author:   jmr at macports.org
Date:     2009-08-31 15:31:19 -0700 (Mon, 31 Aug 2009)
Log Message:
-----------
python31: fix for 64-bit (#20763)

Modified Paths:
--------------
    trunk/dports/lang/python31/Portfile

Added Paths:
-----------
    trunk/dports/lang/python31/files/patch-configure-arch_only.diff

Modified: trunk/dports/lang/python31/Portfile
===================================================================
--- trunk/dports/lang/python31/Portfile	2009-08-31 20:54:13 UTC (rev 56662)
+++ trunk/dports/lang/python31/Portfile	2009-08-31 22:31:19 UTC (rev 56663)
@@ -33,6 +33,9 @@
                         patch-setup.py.diff \
                         patch-Lib-cgi.py.diff \
                         patch-Lib-distutils-dist.py.diff
+if {![variant_isset universal]} {
+    patchfiles-append   patch-configure-arch_only.diff
+}
 
 depends_lib             port:zlib port:openssl port:tk \
                         port:sqlite3 port:ncurses port:gdbm \

Added: trunk/dports/lang/python31/files/patch-configure-arch_only.diff
===================================================================
--- trunk/dports/lang/python31/files/patch-configure-arch_only.diff	                        (rev 0)
+++ trunk/dports/lang/python31/files/patch-configure-arch_only.diff	2009-08-31 22:31:19 UTC (rev 56663)
@@ -0,0 +1,20 @@
+--- configure.orig	2009-06-09 07:22:57.000000000 +1000
++++ configure	2009-09-01 08:21:21.000000000 +1000
+@@ -13255,7 +13255,7 @@
+     if test "${enable_universalsdk}"; then
+ 	    :
+     else
+-	LIBTOOL_CRUFT="${LIBTOOL_CRUFT} -arch_only `arch`"
++	LIBTOOL_CRUFT="${LIBTOOL_CRUFT}"
+     fi
+     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
+     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
+@@ -13267,7 +13267,7 @@
+         else
+             LIBTOOL_CRUFT=""
+     fi
+-    LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs -arch_only `arch`"
++    LIBTOOL_CRUFT=$LIBTOOL_CRUFT" -lSystem -lSystemStubs"
+     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -install_name $(PYTHONFRAMEWORKINSTALLDIR)/Versions/$(VERSION)/$(PYTHONFRAMEWORK)'
+     LIBTOOL_CRUFT=$LIBTOOL_CRUFT' -compatibility_version $(VERSION) -current_version $(VERSION)';;
+ esac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090831/967408be/attachment.html>


More information about the macports-changes mailing list