[95392] trunk/dports/graphics/gegl/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Wed Jul 11 12:47:02 PDT 2012


Revision: 95392
          https://trac.macports.org/changeset/95392
Author:   jeremyhu at macports.org
Date:     2012-07-11 12:47:01 -0700 (Wed, 11 Jul 2012)
Log Message:
-----------
gegl: Use muniversal, dev timeout

Modified Paths:
--------------
    trunk/dports/graphics/gegl/Portfile

Modified: trunk/dports/graphics/gegl/Portfile
===================================================================
--- trunk/dports/graphics/gegl/Portfile	2012-07-11 19:41:31 UTC (rev 95391)
+++ trunk/dports/graphics/gegl/Portfile	2012-07-11 19:47:01 UTC (rev 95392)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       muniversal 1.0
 
 name            gegl
 version         0.2.0
@@ -23,8 +24,6 @@
     compositing on large images. GEGL is suitable for projects ranging from small \
     one-off projects to interactive applications.
 
-universal_variant  no
-
 checksums       sha1    764cc66cb3c7b261b8fc18a6268a0e264a91d573 \
                 rmd160  cc10365cff27dd42b002bf305f82de54d8c158fa
 
@@ -58,7 +57,10 @@
 use_parallel_build no
 
 platform darwin {
-    if {$build_arch == "x86_64"} {
+    if {[variant_isset universal]} {
+        # In order to build universal on Leopard, you need MacPorts 2.1
+        set merger_configure_args(x86_64) --build=${build_arch}-apple-${os.platform}${os.version}
+    } elseif {${build_arch} == "x86_64"} {
         configure.args-append --build=${build_arch}-apple-${os.platform}${os.version}
     }
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120711/3df13683/attachment.html>


More information about the macports-changes mailing list