Revision
120547
Author
devans@macports.org
Date
2014-05-31 23:47:56 -0700 (Sat, 31 May 2014)

Log Message

gupnp-igd: blacklist compilers that don't support C11 to fix build on SL and earlier.

Modified Paths

Diff

Modified: trunk/dports/net/gupnp-igd/Portfile (120546 => 120547)


--- trunk/dports/net/gupnp-igd/Portfile	2014-06-01 06:36:22 UTC (rev 120546)
+++ trunk/dports/net/gupnp-igd/Portfile	2014-06-01 06:47:56 UTC (rev 120547)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       compiler_blacklist_versions 1.0
 
 name            gupnp-igd
 version         0.2.3
@@ -31,6 +32,12 @@
 patchfiles      patch-configure.diff \
                 patch-python-pygupnp-igd-module.c.diff
 
+# blacklist compilers that do not support C11
+# due to error: redefinition of typedef 'GUPnPService'
+# build fix for SL and earlier
+
+compiler.blacklist  *gcc* {clang < 300}
+
 configure.args  --disable-silent-rules \
                 --enable-introspection=yes