[103450] trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

larryv at macports.org larryv at macports.org
Mon Feb 25 23:46:24 PST 2013


Revision: 103450
          https://trac.macports.org/changeset/103450
Author:   larryv at macports.org
Date:     2013-02-25 23:46:24 -0800 (Mon, 25 Feb 2013)
Log Message:
-----------
muniversal-1.0.tcl: Update muniversal_arch_flag_supported.

Now matches trunk's portconfigure::arch_flag_supported as of r103449.

Revision Links:
--------------
    https://trac.macports.org/changeset/103449

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2013-02-26 07:33:00 UTC (rev 103449)
+++ trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2013-02-26 07:46:24 UTC (rev 103450)
@@ -58,23 +58,7 @@
 
 proc muniversal_arch_flag_supported {args} {
     global configure.compiler
-    switch -exact ${configure.compiler} {
-        gcc-4.0 -
-        gcc-4.2 -
-        llvm-gcc-4.2 -
-        clang -
-        apple-gcc-4.0 -
-        apple-gcc-4.2 -
-        macports-clang-2.9 -
-        macports-clang-3.0 -
-        macports-clang-3.1 -
-        macports-clang {
-            return yes
-        }
-        default {
-            return no
-        }
-    }
+    return [regexp {^gcc-4|llvm|apple|clang} ${configure.compiler}]
 }
 
 proc muniversal_get_arch_flag {arch {fortran ""}} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130225/abb6e755/attachment.html>


More information about the macports-changes mailing list