Ignore:
Timestamp:
Mar 1, 2012, 7:02:55 PM (6 years ago)
Author:
jwa@…
Message:

modernise checksums, fix 4.3 SDK location

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/wxWidgets/Portfile

    r90281 r90312  
    3232dist_subdir     ${distname}/${version}
    3333
    34 checksums       md5     4103e37e277abeb8aee607b990c215c4 \
    35                 sha1    c1a3c25de3ab43e2d722c2b7c4048e999c57ef21 \
    36                 rmd160  928e221abe1a00cd2d72d2a4fd3640ba639b9915
     34checksums           rmd160  928e221abe1a00cd2d72d2a4fd3640ba639b9915 \
     35                    sha256  3b0ac1d2d017683851841501c8e1b744b97242d684a1668ded61809b0504f707
    3736
    3837depends_lib     port:jpeg \
     
    9594platform darwin 11 {
    9695    configure.args-append \
    97         --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk \
    9896        --with-macosx-version-min=10.6
    99     if {$xcodeversion == "4.3"} {
    100         configure.args-delete \
     97    if {[vercmp $xcodeversion 4.3] >= 0} {
     98        configure.args-append \
     99            --with-macosx-sdk=${developer_dir}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
     100    } else {
     101        configure.args-append \
    101102            --with-macosx-sdk=${developer_dir}/SDKs/MacOSX10.6.sdk
    102         configure.args-append \
    103             --with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
    104103    }
    105104}
Note: See TracChangeset for help on using the changeset viewer.