Ignore:
Timestamp:
Feb 26, 2013, 7:46:24 AM (6 years ago)
Author:
larryv@…
Message:

muniversal-1.0.tcl: Update muniversal_arch_flag_supported.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

    r103445 r103450  
    5959proc muniversal_arch_flag_supported {args} {
    6060    global configure.compiler
    61     switch -exact ${configure.compiler} {
    62         gcc-4.0 -
    63         gcc-4.2 -
    64         llvm-gcc-4.2 -
    65         clang -
    66         apple-gcc-4.0 -
    67         apple-gcc-4.2 -
    68         macports-clang-2.9 -
    69         macports-clang-3.0 -
    70         macports-clang-3.1 -
    71         macports-clang {
    72             return yes
    73         }
    74         default {
    75             return no
    76         }
    77     }
     61    return [regexp {^gcc-4|llvm|apple|clang} ${configure.compiler}]
    7862}
    7963
Note: See TracChangeset for help on using the changeset viewer.