pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/yash shells/yash: use C99 to support 'for' loop...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6a0b2b12f344
branches:  trunk
changeset: 390435:6a0b2b12f344
user:      vins <vins%pkgsrc.org@localhost>
date:      Mon Dec 19 10:57:23 2022 +0000

description:
shells/yash: use C99 to support 'for' loop initial declarations.

diffstat:

 shells/yash/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 26f23a9e3b14 -r 6a0b2b12f344 shells/yash/Makefile
--- a/shells/yash/Makefile      Mon Dec 19 10:39:07 2022 +0000
+++ b/shells/yash/Makefile      Mon Dec 19 10:57:23 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/12/19 10:16:45 vins Exp $
+# $NetBSD: Makefile,v 1.4 2022/12/19 10:57:23 vins Exp $
 
 DISTNAME=      yash-2.53
 CATEGORIES=    shells
@@ -10,6 +10,7 @@
 COMMENT=       POSIX-compliant command line shell
 LICENSE=       gnu-gpl-v2
 
+USE_LANGUAGES= c99
 USE_TOOLS+=    msgfmt msgmerge
 USE_TOOLS+=    intltool xgettext
 
@@ -17,6 +18,8 @@
 CONFIGURE_ARGS+=       --prefix=${PREFIX}
 CONFIGURE_ARGS+=       --mandir=${PREFIX}/${PKGMANDIR}
 
+CFLAGS+=       -std=c99
+
 PKG_SHELL=     bin/yash
 
 .include "../../devel/gettext-lib/buildlink3.mk"



Home | Main Index | Thread Index | Old Index