Revision
120543
Author
devans@macports.org
Date
2014-05-31 22:38:53 -0700 (Sat, 31 May 2014)

Log Message

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

Modified Paths

Diff

Modified: trunk/dports/net/rygel/Portfile (120542 => 120543)


--- trunk/dports/net/rygel/Portfile	2014-06-01 05:34:59 UTC (rev 120542)
+++ trunk/dports/net/rygel/Portfile	2014-06-01 05:38:53 UTC (rev 120543)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       compiler_blacklist_versions 1.0
 
 name            rygel
 version         0.22.2
@@ -40,6 +41,12 @@
 
 patchfiles      patch-configure.ac.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}
+
 # update m4/intltool.m4 and autoreconf
 
 pre-configure {