Changeset 110484 for trunk/dports/aqua


Ignore:
Timestamp:
Aug 31, 2013, 5:05:46 PM (6 years ago)
Author:
jeremyhu@…
Message:

FScript: Improve erroring handling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/FScript/Portfile

    r110481 r110484  
    5555compiler.blacklist {clang < 300}
    5656
     57platform darwin 11 {
     58    pre-fetch {
     59        if {! [file exists ${configure.sdkroot}]} {
     60            depends_lib
     61            depends_run
     62            pre-fetch {
     63                ui_error "$name requires the 10.6 SDK to install on Lion."
     64                error "unsupported platform"
     65            }
     66        }
     67    }
     68}
     69
    5770platform darwin {
    58     if {${os.major} >= 12 || {${os.major} == 11 && ! [file exists ${configure.sdkroot}]}} {
     71    if {${os.major} >= 12} {
    5972        depends_lib
    6073        depends_run
    6174        pre-fetch {
    62             ui_error "$name does not build on Lion or later."
     75            ui_error "$name does not build on Mountain Lion or later."
    6376            error "unsupported platform"
    6477        }
Note: See TracChangeset for help on using the changeset viewer.