Ignore:
Timestamp:
Jul 12, 2014, 6:11:17 AM (5 years ago)
Author:
sean@…
Message:

mpi-1.0: only add conflicts for variants that exist

File:
1 edited

Legend:

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

    r121954 r121975  
    8686            set c [lreplace $args $i $i]
    8787
     88            # only add conflicts for variants that exist
     89            foreach j $mpidb($variant,conflict) {
     90                if {[variant_exists $j]} {
     91                    lappend c $j
     92                }
     93            }
     94
    8895            eval [subst {
    89                 variant ${variant} description {Build using the $mpidb($variant,descrip) compiler} conflicts $c $mpidb($variant,conflict) {
     96                variant ${variant} description {Build using the $mpidb($variant,descrip) compiler} conflicts $c {
    9097
    9198                    set c_name \[c_variant_name\]
Note: See TracChangeset for help on using the changeset viewer.