Revision
120546
Author
devans@macports.org
Date
2014-05-31 23:36:22 -0700 (Sat, 31 May 2014)

Log Message

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

Modified Paths

Diff

Modified: trunk/dports/net/gupnp-av/Portfile (120545 => 120546)


--- trunk/dports/net/gupnp-av/Portfile	2014-06-01 06:29:00 UTC (rev 120545)
+++ trunk/dports/net/gupnp-av/Portfile	2014-06-01 06:36:22 UTC (rev 120546)
@@ -1,7 +1,8 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem      1.0
+PortGroup       compiler_blacklist_versions 1.0
 
 name            gupnp-av
 version         0.12.5
@@ -32,6 +33,12 @@
 # Remove a warning flag that earlier gcc don't know about
 patchfiles-append   patch-test-Makefile.in.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