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

Log Message

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


Modified: svn:mergeinfo

/users/devans/GNOME-3/unstable/dports/gnome/ghex:139898-140567 + /users/devans/GNOME-3/stable/dports/gnome/ghex:119419-149651 /users/devans/GNOME-3/unstable/dports/gnome/ghex:139898-140567

Modified: trunk/dports/gnome/ghex/Portfile (149651 => 149652)


--- trunk/dports/gnome/ghex/Portfile	2016-06-28 19:08:12 UTC (rev 149651)
+++ trunk/dports/gnome/ghex/Portfile	2016-06-28 19:10:30 UTC (rev 149652)
@@ -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