Revision
141203
Author
jeremyhu@macports.org
Date
2015-10-12 12:57:48 -0700 (Mon, 12 Oct 2015)

Log Message

xtide: Use compiler version checking instead of Xcode version checking for the blacklist

Modified Paths

Diff

Modified: trunk/dports/x11/xtide/Portfile (141202 => 141203)


--- trunk/dports/x11/xtide/Portfile	2015-10-12 19:52:38 UTC (rev 141202)
+++ trunk/dports/x11/xtide/Portfile	2015-10-12 19:57:48 UTC (rev 141203)
@@ -1,6 +1,7 @@
 # $Id$
 
 PortSystem 1.0
+PortGroup  compiler_blacklist_versions 1.0
 
 name					xtide
 version                 2.13.2
@@ -42,10 +43,7 @@
     }
 
     # Per the configure script: "if using GCC, version 4.4 or later is required"
-    compiler.blacklist  *gcc-4.2 gcc-4.0 gcc-3.3
-    if {[vercmp $xcodeversion 4.0] < 0} {
-        compiler.blacklist-append clang
-    }
+    compiler.blacklist  *gcc-4.2 gcc-4.0 gcc-3.3 {clang < 300}
 
     # Regenerate configure after patching configure.ac for clang compatibility.
     use_autoreconf      yes