[120541] trunk/dports/net/gupnp-tools/Portfile

devans at macports.org devans at macports.org
Sat May 31 22:34:47 PDT 2014


Revision: 120541
          https://trac.macports.org/changeset/120541
Author:   devans at 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:
--------------
    trunk/dports/net/gupnp-tools/Portfile

Modified: trunk/dports/net/gupnp-tools/Portfile
===================================================================
--- 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 {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140531/53b0d201/attachment.html>


More information about the macports-changes mailing list