Revision
147449
Author
devans@macports.org
Date
2016-04-03 16:19:31 -0700 (Sun, 03 Apr 2016)

Log Message

gitg: blacklist compilers that do not support C11 redefinition of typedefs to address configuration failure on 10.6.

Modified Paths

Diff

Modified: trunk/dports/gnome/gitg/Portfile (147448 => 147449)


--- trunk/dports/gnome/gitg/Portfile	2016-04-03 20:42:52 UTC (rev 147448)
+++ trunk/dports/gnome/gitg/Portfile	2016-04-03 23:19:31 UTC (rev 147449)
@@ -3,6 +3,7 @@
 
 PortSystem          1.0
 PortGroup           active_variants 1.1
+PortGroup           compiler_blacklist_versions 1.0
 PortGroup           gobject_introspection 1.0
 
 name                gitg
@@ -58,6 +59,13 @@
 
 configure.cmd       ./autogen.sh
 
+# blacklist compilers that do not support C11 redefinition of typedefs
+# redefinition of typedef 'GgitRef' at libgit2-glib/ggit-ref.h:33
+# redefinition of typedef 'GgitCloneOptions' at libgit2-glib/ggit-clone-options.h:34
+# redefinition of typedef 'GgitCommit' at libgit2-glib/ggit-commit.h:37
+# redefinition of typedef 'GgitRemote' at libgit2-glib/ggit-remote.h:34
+compiler.blacklist  *gcc* {clang < 300}
+
 configure.args      --enable-compile-warnings=no \
                     --disable-schemas-compile \
                     --disable-silent-rules