Revision
149633
Author
devans@macports.org
Date
2016-06-28 07:47:41 -0700 (Tue, 28 Jun 2016)

Log Message

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

Modified Paths

Diff

Modified: users/devans/GNOME-3/stable/dports/gnome/evince/Portfile (149632 => 149633)


--- users/devans/GNOME-3/stable/dports/gnome/evince/Portfile	2016-06-28 13:56:44 UTC (rev 149632)
+++ users/devans/GNOME-3/stable/dports/gnome/evince/Portfile	2016-06-28 14:47:41 UTC (rev 149633)
@@ -3,6 +3,7 @@
 
 PortSystem          1.0
 PortGroup           active_variants 1.1
+PortGroup           compiler_blacklist_versions 1.0
 PortGroup           gobject_introspection 1.0
 
 name                evince
@@ -48,6 +49,9 @@
 
 gobject_introspection yes
 
+# blacklist old compilers that do not support gcc diagnostic pragmas in functions
+compiler.blacklist  *gcc* {clang < 300}
+
 patchfiles          patch-browser-plugin-Makefile.am.diff \
                     dvi-backend.patch