Changeset 110481 for trunk/dports/aqua


Ignore:
Timestamp:
Aug 31, 2013, 3:55:58 PM (6 years ago)
Author:
jeremyhu@…
Message:

FScript: Fix compiler blacklisting

File:
1 edited

Legend:

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

    r110470 r110481  
    44PortSystem              1.0
    55PortGroup               xcode 1.0
     6PortGroup               compiler_blacklist_versions 1.0
    67
    78name                    FScript
     
    5051}
    5152
    52 compiler.blacklist  *clang*
     53# It is wrong that MacPorts chooses an SDK based on deployment target.
     54macosx_deployment_target 10.6
     55compiler.blacklist {clang < 300}
    5356
    54 macosx_deployment_target 10.6
     57platform darwin {
     58    if {${os.major} >= 12 || {${os.major} == 11 && ! [file exists ${configure.sdkroot}]}} {
     59        depends_lib
     60        depends_run
     61        pre-fetch {
     62            ui_error "$name does not build on Lion or later."
     63            error "unsupported platform"
     64        }
     65    }
     66}
    5567
    5668variant ib_plugin description "Install the Interface Builder Plug-in" {
Note: See TracChangeset for help on using the changeset viewer.