Revision
120538
Author
devans@macports.org
Date
2014-05-31 20:02:00 -0700 (Sat, 31 May 2014)

Log Message

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

Modified Paths

Diff

Modified: trunk/dports/net/gupnp/Portfile (120537 => 120538)


--- trunk/dports/net/gupnp/Portfile	2014-06-01 02:42:40 UTC (rev 120537)
+++ trunk/dports/net/gupnp/Portfile	2014-06-01 03:02:00 UTC (rev 120538)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       compiler_blacklist_versions 1.0
 
 name            gupnp
 version         0.20.12
@@ -34,6 +35,12 @@
                 port:ossp-uuid \
                 port:vala
 
+# 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