[152499] trunk/dports/shells/yash/Portfile

larryv at macports.org larryv at macports.org
Sun Sep 11 10:40:53 PDT 2016


Revision: 152499
          https://trac.macports.org/changeset/152499
Author:   larryv at macports.org
Date:     2016-09-11 10:40:53 -0700 (Sun, 11 Sep 2016)
Log Message:
-----------
yash: Force older compilers to use C99

Modified Paths:
--------------
    trunk/dports/shells/yash/Portfile

Modified: trunk/dports/shells/yash/Portfile
===================================================================
--- trunk/dports/shells/yash/Portfile	2016-09-11 17:21:36 UTC (rev 152498)
+++ trunk/dports/shells/yash/Portfile	2016-09-11 17:40:53 UTC (rev 152499)
@@ -30,6 +30,9 @@
 
 patchfiles          respect-destdir.patch
 
+# Some older compilers (e.g., gcc-4.2) default to gnu89.
+configure.cflags-append -std=c99
+
 test.run            yes
 
 destroot.target-append install-html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160911/3e52627c/attachment.html>


More information about the macports-changes mailing list