[36622] trunk/dports/devel/libsdl-framework/Portfile

nox at macports.org nox at macports.org
Thu May 8 08:34:39 PDT 2008


Revision: 36622
          http://trac.macosforge.org/projects/macports/changeset/36622
Author:   nox at macports.org
Date:     2008-05-08 08:34:39 -0700 (Thu, 08 May 2008)

Log Message:
-----------
libsdl-framework: Universal support now uses configure.universal_archs

Modified Paths:
--------------
    trunk/dports/devel/libsdl-framework/Portfile

Modified: trunk/dports/devel/libsdl-framework/Portfile
===================================================================
--- trunk/dports/devel/libsdl-framework/Portfile	2008-05-08 15:24:33 UTC (rev 36621)
+++ trunk/dports/devel/libsdl-framework/Portfile	2008-05-08 15:34:39 UTC (rev 36622)
@@ -17,7 +17,10 @@
     \"Civilization: Call To Power.\" Simple DirectMedia Layer supports Linux, Win32, BeOS, \
     Mac OS, Solaris, IRIX, and FreeBSD.
 
-if {! [variant_isset universal]} {
+if {[variant_isset universal]} {
+    eval xcode.build.settings-append        "ARCHS='${configure.universal_archs}'"
+    eval xcode.destroot.settings-append     "ARCHS='${configure.universal_archs}'"
+} else {
     set arch ${os.arch}
     if {! [string compare ${os.arch} powerpc]} {
         set arch ppc
@@ -58,4 +61,3 @@
 livecheck.check regex
 livecheck.url   ${homepage}download.php
 livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080508/870fcf11/attachment.html


More information about the macports-changes mailing list