Ignore:
Timestamp:
May 16, 2011, 8:10:27 AM (9 years ago)
Author:
jmr@…
Message:

cmake portgroup: set sysroot to / when an SDK is not needed (see #29008, #29452)

File:
1 edited

Legend:

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

    r73038 r78651  
    6363    configure.universal_args-append \
    6464        -DCMAKE_OSX_ARCHITECTURES=\"[strsed ${configure.universal_archs} "g| |;|"]\"
    65     if {[info exists configure.sdkroot] && ${configure.sdkroot} != ""} {
     65    if {${configure.sdkroot} != ""} {
    6666        configure.args-append -DCMAKE_OSX_SYSROOT="${configure.sdkroot}"
     67    } else {
     68        configure.args-append -DCMAKE_OSX_SYSROOT=/
    6769    }
    6870}
Note: See TracChangeset for help on using the changeset viewer.