Revision
149634
Author
devans@macports.org
Date
2016-06-28 07:49:14 -0700 (Tue, 28 Jun 2016)

Log Message

evince: blacklist old compilers that do not support gcc diagnostic pragmas in functions, tentative fix for 10.6.

Modified Paths

Property Changed

Diff

Property changes: trunk/dports/gnome/evince


Modified: svn:mergeinfo

/users/devans/GNOME-3/unstable/dports/gnome/evince:114069-118152,121463-125801,132273-140532,146865-147068 + /users/devans/GNOME-3/stable/dports/gnome/evince:108269-149633 /users/devans/GNOME-3/unstable/dports/gnome/evince:114069-118152,121463-125801,132273-140532,146865-147068

Modified: trunk/dports/gnome/evince/Portfile (149633 => 149634)


--- trunk/dports/gnome/evince/Portfile	2016-06-28 14:47:41 UTC (rev 149633)
+++ trunk/dports/gnome/evince/Portfile	2016-06-28 14:49:14 UTC (rev 149634)
@@ -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