Revision
149632
Author
devans@macports.org
Date
2016-06-28 06:56:44 -0700 (Tue, 28 Jun 2016)

Log Message

eog: 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/eog


Modified: svn:mergeinfo

/users/devans/GNOME-3/stable/dports/gnome/eog:108269-149611 /users/devans/GNOME-3/unstable/dports/gnome/eog:114069-118152,119539-125772,132514-134396,136842-140590,141709-147064 /users/rmstonecipher/gnome/eog:102363-103172 + /branches/mld-qt-481/dports/gnome/eog:92720,92813,92891,92963,93522,93556,93699,93743,93771-93773,93806,93817-93818,93856 /users/devans/GNOME-3/stable/dports/gnome/eog:108269-149631 /users/devans/GNOME-3/unstable/dports/gnome/eog:114069-118152,119539-125772,132514-134396,136842-140590,141709-147064 /users/rmstonecipher/gnome/eog:102363-103172

Modified: trunk/dports/gnome/eog/Portfile (149631 => 149632)


--- trunk/dports/gnome/eog/Portfile	2016-06-28 13:54:58 UTC (rev 149631)
+++ trunk/dports/gnome/eog/Portfile	2016-06-28 13:56:44 UTC (rev 149632)
@@ -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 {