[56665] trunk/dports/lang/python30
jmr at macports.org
jmr at macports.org
Mon Aug 31 15:46:55 PDT 2009
Revision: 56665
http://trac.macports.org/changeset/56665
Author: jmr at macports.org
Date: 2009-08-31 15:46:51 -0700 (Mon, 31 Aug 2009)
Log Message:
-----------
python30: fix for 64-bit (#20842)
Modified Paths:
--------------
trunk/dports/lang/python30/Portfile
Added Paths:
-----------
trunk/dports/lang/python30/files/patch-configure-arch_only.diff
Modified: trunk/dports/lang/python30/Portfile
===================================================================
--- trunk/dports/lang/python30/Portfile 2009-08-31 22:31:56 UTC (rev 56664)
+++ trunk/dports/lang/python30/Portfile 2009-08-31 22:46:51 UTC (rev 56665)
@@ -32,6 +32,9 @@
patchfiles 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:gettext port:zlib port:openssl port:tk \
port:sqlite3 port:ncurses port:gdbm \
Added: trunk/dports/lang/python30/files/patch-configure-arch_only.diff
===================================================================
--- trunk/dports/lang/python30/files/patch-configure-arch_only.diff (rev 0)
+++ trunk/dports/lang/python30/files/patch-configure-arch_only.diff 2009-08-31 22:46:51 UTC (rev 56665)
@@ -0,0 +1,20 @@
+--- configure.orig 2009-01-06 06:53:36.000000000 +1100
++++ configure 2009-09-01 08:39:24.000000000 +1000
+@@ -12830,7 +12830,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)';;
+@@ -12842,7 +12842,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/7860eaa7/attachment.html>
More information about the macports-changes
mailing list