Revision
147417
Author
devans@macports.org
Date
2016-04-02 23:42:32 -0700 (Sat, 02 Apr 2016)

Log Message

gnome-calculator: blacklist compilers that do not support C11 redefinition of typedefs to fix 10.6 build.

Modified Paths

Diff

Modified: trunk/dports/gnome/gnome-calculator/Portfile (147416 => 147417)


--- trunk/dports/gnome/gnome-calculator/Portfile	2016-04-03 06:03:45 UTC (rev 147416)
+++ trunk/dports/gnome/gnome-calculator/Portfile	2016-04-03 06:42:32 UTC (rev 147417)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                gnome-calculator
 version             3.20.0
@@ -46,6 +47,9 @@
 
 configure.cmd       ./autogen.sh
 
+# blacklist compilers that do not support C11 (redefinition of typedef ‘GtkSourceTag’ at gtksourceview/gtksourcetag.h:35)
+compiler.blacklist  *gcc* {clang < 300}
+
 configure.args      --disable-schemas-compile \
                     --disable-silent-rules