Ignore:
Timestamp:
Nov 1, 2010, 10:00:03 PM (9 years ago)
Author:
jmr@…
Message:

qt4 portgroup: fix qt_arch_types so it doesn't only exist in the patch phase

File:
1 edited

Legend:

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

    r72874 r73039  
    126126
    127127# set Qt understood arch types, based on user preference
    128 pre-patch {
    129     global qt_arch_types
    130     if {[variant_exists universal] && [variant_isset universal]} {
    131         set qt_arch_types ${universal_archs}
    132     } else {
    133         set qt_arch_types ${build_arch}
    134     }
    135     set qt_arch_types [string map {i386 x86} ${qt_arch_types}]
    136 }
     128options qt_arch_types
     129default qt_arch_types {[string map {i386 x86} [get_canonical_archs]]}
    137130
    138131# allow for both qt4 and qt4 devel
Note: See TracChangeset for help on using the changeset viewer.