Ticket #11897: buildvariants.patch

File buildvariants.patch, 729 bytes (added by gwhitneycom1@…, 17 years ago)

Proposed patch to resolve this issue

  • port.tcl

     
    20242024                        set porturl $portinfo(porturl)
    20252025                }
    20262026               
    2027                 # If this is the install target, add any global_variations to the variations
     2027                # Add any global_variations to the variations
    20282028                # specified for the port
    2029                 if { $target == "install" } {
    2030                         foreach { variation value } [array get global_variations] {
    2031                                 if { ![info exists variations($variation)] } {
    2032                                         set variations($variation) $value
    2033                                 }
     2029                foreach { variation value } [array get global_variations] {
     2030                        if { ![info exists variations($variation)] } {
     2031                                set variations($variation) $value
    20342032                        }
    20352033                }
    20362034