[52045] trunk/dports/devel/glib2/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Mon Jun 8 16:58:43 PDT 2009


Revision: 52045
          http://trac.macports.org/changeset/52045
Author:   jeremyhu at macports.org
Date:     2009-06-08 16:58:43 -0700 (Mon, 08 Jun 2009)
Log Message:
-----------
glib2: Futureproof +universal

Modified Paths:
--------------
    trunk/dports/devel/glib2/Portfile

Modified: trunk/dports/devel/glib2/Portfile
===================================================================
--- trunk/dports/devel/glib2/Portfile	2009-06-08 21:54:18 UTC (rev 52044)
+++ trunk/dports/devel/glib2/Portfile	2009-06-08 23:58:43 UTC (rev 52045)
@@ -101,14 +101,10 @@
         }
 
         # Find architectures which will not run on build platform.
-        if { ${os.arch}=="i386" } {
-            if { ${os.major} >= 10 } {
-                set cross_archs "ppc ppc64"
-            } else {
-                set cross_archs "ppc64"
-                set host_archs  "ppc ppc64"
-                set big_endian  "yes"
-            }
+        if { ${os.arch}=="i386" || ${os.arch=="x86_64"}} {
+            set cross_archs "ppc ppc64"
+            set host_archs "ppc ppc64"
+            set big_endian "yes"
         } else {
             set cross_archs "i386 x86_64"
             set host_archs  "i386 x86_64"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090608/9b088fe8/attachment.html>


More information about the macports-changes mailing list