Revision
115573
Author
larryv@macports.org
Date
2014-01-05 11:45:45 -0800 (Sun, 05 Jan 2014)

Log Message

mpd: Blacklist older versions of Clang that used LLVM-GCC as a C++ compiler.

Modified Paths

Diff

Modified: trunk/dports/audio/mpd/Portfile (115572 => 115573)


--- trunk/dports/audio/mpd/Portfile	2014-01-05 19:35:48 UTC (rev 115572)
+++ trunk/dports/audio/mpd/Portfile	2014-01-05 19:45:45 UTC (rev 115573)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                mpd
 version             0.18.6
@@ -75,8 +76,9 @@
     default_variants    +mad
 }
 
-# Doesn't work with old GCC.
-compiler.blacklist  gcc-3.3 {*gcc-4.[0-5]}
+# Doesn't work with old GCC. Also blacklist old Clang, since it uses
+# LLVM-GCC to compile C++.
+compiler.blacklist  gcc-3.3 {*gcc-4.[0-5]} {clang < 211}
 
 if {${os.platform} eq "darwin" && ${os.major} > 8} {
     set mpduser       _mpd