[69440] trunk/dports/lang/python25/Portfile

jmr at macports.org jmr at macports.org
Tue Jul 6 01:57:17 PDT 2010


Revision: 69440
          http://trac.macports.org/changeset/69440
Author:   jmr at macports.org
Date:     2010-07-06 01:57:16 -0700 (Tue, 06 Jul 2010)
Log Message:
-----------
python25: set configure.universal_archs to match reality (see #21248), use configure.sdkroot

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

Modified: trunk/dports/lang/python25/Portfile
===================================================================
--- trunk/dports/lang/python25/Portfile	2010-07-06 07:42:59 UTC (rev 69439)
+++ trunk/dports/lang/python25/Portfile	2010-07-06 08:57:16 UTC (rev 69440)
@@ -178,11 +178,13 @@
 }
 }
 
+configure.universal_archs i386 ppc
+
 variant universal {
-   if {${macosx_version} == "10.4" && ${os.arch} == "powerpc"} {
-      configure.args-append   --enable-universalsdk=${developer_dir}/SDKs/MacOSX10.4u.sdk
+   if {${configure.sdkroot} == ""} {
+      configure.args-append   --enable-universalsdk=/
    } else {
-      configure.args-append   --enable-universalsdk=/
+      configure.args-append   --enable-universalsdk=${configure.sdkroot}
    }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100706/4108fd23/attachment.html>


More information about the macports-changes mailing list