Revision
149651
Author
devans@macports.org
Date
2016-06-28 12:08:12 -0700 (Tue, 28 Jun 2016)

Log Message

GNOME-3/stable: ghex, blacklist old compilers that do not support gcc diagnostic pragmas in functions.

Modified Paths

Diff

Modified: users/devans/GNOME-3/stable/dports/gnome/ghex/Portfile (149650 => 149651)


--- users/devans/GNOME-3/stable/dports/gnome/ghex/Portfile	2016-06-28 17:13:58 UTC (rev 149650)
+++ users/devans/GNOME-3/stable/dports/gnome/ghex/Portfile	2016-06-28 19:08:12 UTC (rev 149651)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                ghex
 version             3.18.2
@@ -38,6 +39,8 @@
 depends_run         port:yelp \
                     port:gnome-themes-standard
 
+# blacklist old compilers that do not support gcc diagnostic pragmas in functions
+compiler.blacklist  *gcc* {clang < 300}
 
 # reconfigure using upstream autogen.sh for intltool 0.51 compatibility