Ignore:
Timestamp:
Jan 23, 2014, 8:08:17 PM (5 years ago)
Author:
sean@…
Message:

compilers-1.0: add c_variant_isset

File:
1 edited

Legend:

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

    r116297 r116298  
    284284}
    285285
    286 proc compiler_variant_name {} {
    287     global compilers.variants
    288 
    289     foreach variant ${compilers.variants} {
    290         if {[variant_isset $variant]} {
    291             return $variant
     286proc c_variant_name {} {
     287    global compilers.variants compilers.fortran_variants
     288    set c_list [remove_from_list ${compilers.variants} {gfortran g95}]
     289
     290    foreach cc $c_list {
     291        if {[variant_isset $cc]} {
     292            return $cc
    292293        }
    293294    }
Note: See TracChangeset for help on using the changeset viewer.