[113030] trunk/dports/devel

ryandesign at macports.org ryandesign at macports.org
Wed Nov 6 18:27:55 PST 2013


Revision: 113030
          https://trac.macports.org/changeset/113030
Author:   ryandesign at macports.org
Date:     2013-11-06 18:27:55 -0800 (Wed, 06 Nov 2013)
Log Message:
-----------
libdevil, ResIL: use -std=gnu89 only on clang (build failure with gcc 4.2)

Modified Paths:
--------------
    trunk/dports/devel/ResIL/Portfile
    trunk/dports/devel/libdevil/Portfile

Modified: trunk/dports/devel/ResIL/Portfile
===================================================================
--- trunk/dports/devel/ResIL/Portfile	2013-11-07 02:15:36 UTC (rev 113029)
+++ trunk/dports/devel/ResIL/Portfile	2013-11-07 02:27:55 UTC (rev 113030)
@@ -93,7 +93,9 @@
 set merger_configure_args(ppc64) --enable-ppc
 
 # https://sourceforge.net/p/resil/tickets/6/
-configure.cflags-append -std=gnu89
+if {[string match *clang* ${configure.compiler}]} {
+    configure.cflags-append -std=gnu89
+}
 
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}

Modified: trunk/dports/devel/libdevil/Portfile
===================================================================
--- trunk/dports/devel/libdevil/Portfile	2013-11-07 02:15:36 UTC (rev 113029)
+++ trunk/dports/devel/libdevil/Portfile	2013-11-07 02:27:55 UTC (rev 113030)
@@ -76,7 +76,9 @@
 set merger_configure_args(ppc64) --enable-ppc
 
 # https://sourceforge.net/p/resil/tickets/6/
-configure.cflags-append -std=gnu89
+if {[string match *clang* ${configure.compiler}]} {
+    configure.cflags-append -std=gnu89
+}
 
 post-destroot {
     xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131106/447ae55c/attachment.html>


More information about the macports-changes mailing list