pkgsrc-Changes archive

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

CVS commit: pkgsrc/shells/yash



Module Name:    pkgsrc
Committed By:   vins
Date:           Mon Dec 19 10:57:23 UTC 2022

Modified Files:
        pkgsrc/shells/yash: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/shells/yash/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/shells/yash/Makefile
diff -u pkgsrc/shells/yash/Makefile:1.3 pkgsrc/shells/yash/Makefile:1.4
--- pkgsrc/shells/yash/Makefile:1.3     Mon Dec 19 10:16:45 2022
+++ pkgsrc/shells/yash/Makefile Mon Dec 19 10:57:23 2022
@@ -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 @@ HOMEPAGE=     https://yash.osdn.jp/index.htm
 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 @@ HAS_CONFIGURE=                yes
 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