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

mpi-1.0: also check default_variants in mpi_variant_isset

File:
1 edited

Legend:

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

    r116346 r116347  
    140140
    141141proc mpi_variant_name {} {
    142     global mpi.variants
     142    global mpi.variants variations
    143143
    144144    foreach mpiv ${mpi.variants} {
    145         if {[variant_isset $mpiv]} {
     145        # we need to check the default_variants so we can't use variant_isset
     146        if {[info exists variations($mpiv)] && $variations($mpiv) eq "+"} {
    146147            return $mpiv
    147148        }
Note: See TracChangeset for help on using the changeset viewer.