Ignore:
Timestamp:
May 10, 2012, 8:21:01 PM (7 years ago)
Author:
and.damore@…
Message:

port nu2: fixing building with new Xcode 4.3, setting SDK path into build script (no configure phase)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/nu2/Portfile

    r92837 r92919  
    5555    reinplace "s|@CC@|${configure.cc}|g" ${worksrcpath}/Nukefile
    5656    reinplace "s|@SDKROOT@|${configure.sdkroot}|g" ${worksrcpath}/Nukefile
    57     reinplace "s|@SDKFLAGS@|-isysroot ${developer_dir}/SDKs/MacOSX${macosx_deployment_target}.sdk|g" ${worksrcpath}/Nukefile
     57
     58    if {[vercmp $xcodeversion 4.3] < 0} {
     59        set SDK ${developer_dir}/SDKs/MacOSX${macosx_deployment_target}.sdk
     60    } else {
     61        set SDK ${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${macosx_deployment_target}.sdk
     62    }
     63    reinplace "s|@SDKFLAGS@|-isysroot ${SDK}|g" ${worksrcpath}/Nukefile
    5864
    5965    reinplace "s|/Library/Frameworks|${frameworks_dir}|"          ${worksrcpath}/tools/nuke
Note: See TracChangeset for help on using the changeset viewer.