Revision
120541
Author
devans@macports.org
Date
2014-05-31 22:34:47 -0700 (Sat, 31 May 2014)

Log Message

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

Modified Paths

Diff

Modified: trunk/dports/net/gupnp-tools/Portfile (120540 => 120541)


--- trunk/dports/net/gupnp-tools/Portfile	2014-06-01 05:27:15 UTC (rev 120540)
+++ trunk/dports/net/gupnp-tools/Portfile	2014-06-01 05:34:47 UTC (rev 120541)
@@ -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-tools
 version         0.8.9
@@ -40,6 +41,12 @@
 
 depends_run     port:gnome-settings-daemon
 
+# 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
 
 post-patch {