Revision: 110484 https://trac.macports.org/changeset/110484 Author: jeremyhu@macports.org Date: 2013-08-31 10:05:46 -0700 (Sat, 31 Aug 2013) Log Message: ----------- FScript: Improve erroring handling Modified Paths: -------------- trunk/dports/aqua/FScript/Portfile Modified: trunk/dports/aqua/FScript/Portfile =================================================================== --- trunk/dports/aqua/FScript/Portfile 2013-08-31 16:27:12 UTC (rev 110483) +++ trunk/dports/aqua/FScript/Portfile 2013-08-31 17:05:46 UTC (rev 110484) @@ -54,12 +54,25 @@ macosx_deployment_target 10.6 compiler.blacklist {clang < 300} +platform darwin 11 { + pre-fetch { + if {! [file exists ${configure.sdkroot}]} { + depends_lib + depends_run + pre-fetch { + ui_error "$name requires the 10.6 SDK to install on Lion." + error "unsupported platform" + } + } + } +} + platform darwin { - if {${os.major} >= 12 || {${os.major} == 11 && ! [file exists ${configure.sdkroot}]}} { + if {${os.major} >= 12} { depends_lib depends_run pre-fetch { - ui_error "$name does not build on Lion or later." + ui_error "$name does not build on Mountain Lion or later." error "unsupported platform" } }
participants (1)
-
jeremyhu@macports.org