[110481] trunk/dports/aqua/FScript/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Aug 31 08:55:58 PDT 2013


Revision: 110481
          https://trac.macports.org/changeset/110481
Author:   jeremyhu at macports.org
Date:     2013-08-31 08:55:58 -0700 (Sat, 31 Aug 2013)
Log Message:
-----------
FScript: Fix compiler blacklisting

Modified Paths:
--------------
    trunk/dports/aqua/FScript/Portfile

Modified: trunk/dports/aqua/FScript/Portfile
===================================================================
--- trunk/dports/aqua/FScript/Portfile	2013-08-31 15:44:08 UTC (rev 110480)
+++ trunk/dports/aqua/FScript/Portfile	2013-08-31 15:55:58 UTC (rev 110481)
@@ -3,6 +3,7 @@
 
 PortSystem              1.0
 PortGroup               xcode 1.0
+PortGroup               compiler_blacklist_versions 1.0
 
 name                    FScript
 version                 2.1
@@ -49,10 +50,21 @@
     default_variants        +ib_plugin
 }
 
-compiler.blacklist  *clang*
-
+# It is wrong that MacPorts chooses an SDK based on deployment target.
 macosx_deployment_target 10.6
+compiler.blacklist {clang < 300}
 
+platform darwin {
+    if {${os.major} >= 12 || {${os.major} == 11 && ! [file exists ${configure.sdkroot}]}} {
+        depends_lib
+        depends_run
+        pre-fetch {
+            ui_error "$name does not build on Lion or later."
+            error "unsupported platform"
+        }
+    }
+}
+
 variant ib_plugin description "Install the Interface Builder Plug-in" {
         xcode.target-append FScriptIBPlugin
         destroot.violate_mtree yes
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130831/e2463930/attachment.html>


More information about the macports-changes mailing list