Revision
149631
Author
devans@macports.org
Date
2016-06-28 06:54:58 -0700 (Tue, 28 Jun 2016)

Log Message

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

Modified Paths

Diff

Modified: users/devans/GNOME-3/stable/dports/gnome/eog/Portfile (149630 => 149631)


--- users/devans/GNOME-3/stable/dports/gnome/eog/Portfile	2016-06-28 13:19:32 UTC (rev 149630)
+++ users/devans/GNOME-3/stable/dports/gnome/eog/Portfile	2016-06-28 13:54:58 UTC (rev 149631)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           compiler_blacklist_versions 1.0
 PortGroup           gobject_introspection 1.0
 
 name                eog
@@ -52,6 +53,9 @@
 
 gobject_introspection yes
 
+# 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
 
 post-patch {