Ignore:
Timestamp:
Nov 18, 2012, 10:06:03 AM (7 years ago)
Author:
ryandesign@…
Message:

cmake-1.0.tcl: rearrange the universal test

File:
1 edited

Legend:

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

    r99817 r99818  
    5858platform darwin {
    5959    pre-configure {
    60         if {![variant_isset universal] || ![variant_exists universal]} {
     60        if {[variant_exists universal] && [variant_isset universal]} {
     61            configure.universal_args-append \
     62                -DCMAKE_OSX_ARCHITECTURES="[join ${configure.universal_archs} \;]"
     63        } else {
    6164            configure.args-append \
    6265                -DCMAKE_OSX_ARCHITECTURES="${configure.build_arch}"
    6366        }
    64         configure.universal_args-append \
    65             -DCMAKE_OSX_ARCHITECTURES="[join ${configure.universal_archs} \;]"
    6667        if {${configure.sdkroot} != ""} {
    6768            configure.args-append -DCMAKE_OSX_SYSROOT="${configure.sdkroot}"
Note: See TracChangeset for help on using the changeset viewer.