[140727] trunk/dports/gnome/gstreamer1/Portfile

devans at macports.org devans at macports.org
Thu Oct 1 05:28:23 PDT 2015


Revision: 140727
          https://trac.macports.org/changeset/140727
Author:   devans at macports.org
Date:     2015-10-01 05:28:23 -0700 (Thu, 01 Oct 2015)
Log Message:
-----------
gstreamer1: *gcc-4.2 needs -std=c99 (#49013).

Modified Paths:
--------------
    trunk/dports/gnome/gstreamer1/Portfile

Modified: trunk/dports/gnome/gstreamer1/Portfile
===================================================================
--- trunk/dports/gnome/gstreamer1/Portfile	2015-10-01 11:51:44 UTC (rev 140726)
+++ trunk/dports/gnome/gstreamer1/Portfile	2015-10-01 12:28:23 UTC (rev 140727)
@@ -52,6 +52,10 @@
 configure.env-append    PERL_PATH=${prefix}/bin/perl
 configure.cflags-append -funroll-loops -fstrict-aliasing -fno-common
 
+if {[string match "*gcc-4.2" ${configure.compiler}]} {
+    configure.cflags-append -std=c99
+}
+
 configure.args-append \
                     --disable-fatal-warnings \
                     --disable-silent-rules
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151001/2709ecea/attachment.html>


More information about the macports-changes mailing list