[56977] trunk/dports/lang

jmr at macports.org jmr at macports.org
Thu Sep 3 23:51:14 PDT 2009


Revision: 56977
          http://trac.macports.org/changeset/56977
Author:   jmr at macports.org
Date:     2009-09-03 23:51:10 -0700 (Thu, 03 Sep 2009)
Log Message:
-----------
python ports: don't require an SDK for universal except on ppc tiger

Modified Paths:
--------------
    trunk/dports/lang/python24/Portfile
    trunk/dports/lang/python25/Portfile
    trunk/dports/lang/python26/Portfile
    trunk/dports/lang/python31/Portfile

Modified: trunk/dports/lang/python24/Portfile
===================================================================
--- trunk/dports/lang/python24/Portfile	2009-09-04 06:21:25 UTC (rev 56976)
+++ trunk/dports/lang/python24/Portfile	2009-09-04 06:51:10 UTC (rev 56977)
@@ -182,14 +182,10 @@
 }
 
 variant universal {
-   if {[info exists universal_sysroot]} {
-      configure.args-append   --enable-universalsdk=${universal_sysroot}
+   if {${macosx_version} == "10.4" && ${os.arch} == "powerpc"} {
+      configure.args-append   --enable-universalsdk=${developer_dir}/SDKs/MacOSX10.4u.sdk
    } else {
-      if {${macosx_version} == "10.4"} {
-         configure.args-append   --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}u.sdk
-      } else {
-         configure.args-append   --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}.sdk
-      }
+      configure.args-append   --enable-universalsdk=/
    }
 }
 

Modified: trunk/dports/lang/python25/Portfile
===================================================================
--- trunk/dports/lang/python25/Portfile	2009-09-04 06:21:25 UTC (rev 56976)
+++ trunk/dports/lang/python25/Portfile	2009-09-04 06:51:10 UTC (rev 56977)
@@ -191,14 +191,10 @@
 }
 
 variant universal {
-   if {[info exists universal_sysroot]} {
-      configure.args-append   --enable-universalsdk=${universal_sysroot}
+   if {${macosx_version} == "10.4" && ${os.arch} == "powerpc"} {
+      configure.args-append   --enable-universalsdk=${developer_dir}/SDKs/MacOSX10.4u.sdk
    } else {
-      if {${macosx_version} == "10.4"} {
-         configure.args-append   --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}u.sdk
-      } else {
-         configure.args-append   --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}.sdk
-      }
+      configure.args-append   --enable-universalsdk=/
    }
 }
 

Modified: trunk/dports/lang/python26/Portfile
===================================================================
--- trunk/dports/lang/python26/Portfile	2009-09-04 06:21:25 UTC (rev 56976)
+++ trunk/dports/lang/python26/Portfile	2009-09-04 06:51:10 UTC (rev 56977)
@@ -159,14 +159,10 @@
             ${worksrcpath}/configure
       }
    }
-   if {[info exists universal_sysroot]} {
-      configure.args-append   --enable-universalsdk=${universal_sysroot}
+   if {${macosx_version} == "10.4" && ${os.arch} == "powerpc"} {
+      configure.args-append   --enable-universalsdk=${developer_dir}/SDKs/MacOSX10.4u.sdk
    } else {
-      if {${macosx_version} == "10.4"} {
-         configure.args-append   --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}u.sdk
-      } else {
-         configure.args-append   --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}.sdk
-      }
+      configure.args-append   --enable-universalsdk=/
    }
 }
 

Modified: trunk/dports/lang/python31/Portfile
===================================================================
--- trunk/dports/lang/python31/Portfile	2009-09-04 06:21:25 UTC (rev 56976)
+++ trunk/dports/lang/python31/Portfile	2009-09-04 06:51:10 UTC (rev 56977)
@@ -143,14 +143,10 @@
             ${worksrcpath}/configure
       }
    }
-   if {[info exists universal_sysroot]} {
-      configure.args-append   --enable-universalsdk=${universal_sysroot}
+   if {${macosx_version} == "10.4" && ${os.arch} == "powerpc"} {
+      configure.args-append   --enable-universalsdk=${developer_dir}/SDKs/MacOSX10.4u.sdk
    } else {
-      if {${macosx_version} == "10.4"} {
-         configure.args-append   --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}u.sdk
-      } else {
-         configure.args-append   --enable-universalsdk=/Developer/SDKs/MacOSX${macosx_version}.sdk
-      }
+      configure.args-append   --enable-universalsdk=/
    }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090903/f3d7e359/attachment.html>


More information about the macports-changes mailing list