[62035] trunk/dports/lang/python31/Portfile

jmr at macports.org jmr at macports.org
Mon Dec 28 06:17:40 PST 2009


Revision: 62035
          http://trac.macports.org/changeset/62035
Author:   jmr at macports.org
Date:     2009-12-28 06:17:37 -0800 (Mon, 28 Dec 2009)
Log Message:
-----------
python31: fix build with trunk (#23046)

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

Modified: trunk/dports/lang/python31/Portfile
===================================================================
--- trunk/dports/lang/python31/Portfile	2009-12-28 14:03:40 UTC (rev 62034)
+++ trunk/dports/lang/python31/Portfile	2009-12-28 14:17:37 UTC (rev 62035)
@@ -35,6 +35,11 @@
                         patch-Lib-distutils-dist.py.diff
 if {![variant_isset universal]} {
     patchfiles-append   patch-configure-arch_only.diff
+    if {[info exists configure.ld_archflags]} {
+        # -arch ends up getting passed to libtool which doesn't understand it, so we
+        # just clear it since this port doesn't respect build_arch anyway
+        configure.ld_archflags
+    }
 }
 
 depends_lib             port:zlib port:openssl port:tk \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091228/93aad63d/attachment.html>


More information about the macports-changes mailing list