pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/gawk
Module Name: pkgsrc
Committed By: cheusov
Date: Wed May 1 20:02:15 UTC 2024
Modified Files:
pkgsrc/lang/gawk: Makefile PLIST options.mk
Log Message:
Add option "nls" enabled by default
To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 pkgsrc/lang/gawk/Makefile
cvs rdiff -u -r1.31 -r1.32 pkgsrc/lang/gawk/PLIST
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/gawk/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/gawk/Makefile
diff -u pkgsrc/lang/gawk/Makefile:1.79 pkgsrc/lang/gawk/Makefile:1.80
--- pkgsrc/lang/gawk/Makefile:1.79 Tue Nov 7 13:19:47 2023
+++ pkgsrc/lang/gawk/Makefile Wed May 1 20:02:14 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2023/11/07 13:19:47 nia Exp $
+# $NetBSD: Makefile,v 1.80 2024/05/01 20:02:14 cheusov Exp $
DISTNAME= gawk-5.3.0
CATEGORIES= lang
@@ -46,7 +46,6 @@ post-install:
${LN} -fs ${PREFIX}/bin/gawk ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/awk
${LN} -fs ${PREFIX}/${PKGMANDIR}/man1/gawk.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/awk.1
-.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/gmp/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/gawk/PLIST
diff -u pkgsrc/lang/gawk/PLIST:1.31 pkgsrc/lang/gawk/PLIST:1.32
--- pkgsrc/lang/gawk/PLIST:1.31 Tue Nov 7 09:17:20 2023
+++ pkgsrc/lang/gawk/PLIST Wed May 1 20:02:14 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.31 2023/11/07 09:17:20 wiz Exp $
+@comment $NetBSD: PLIST,v 1.32 2024/05/01 20:02:14 cheusov Exp $
bin/${PKGNAME}
bin/gawk
bin/gawkbug
@@ -73,25 +73,25 @@ share/awk/strtonum.awk
share/awk/tocsv.awk
share/awk/walkarray.awk
share/awk/zerofile.awk
-share/locale/bg/LC_MESSAGES/gawk.mo
-share/locale/ca/LC_MESSAGES/gawk.mo
-share/locale/da/LC_MESSAGES/gawk.mo
-share/locale/de/LC_MESSAGES/gawk.mo
-share/locale/es/LC_MESSAGES/gawk.mo
-share/locale/fi/LC_MESSAGES/gawk.mo
-share/locale/fr/LC_MESSAGES/gawk.mo
-share/locale/id/LC_MESSAGES/gawk.mo
-share/locale/it/LC_MESSAGES/gawk.mo
-share/locale/ja/LC_MESSAGES/gawk.mo
-share/locale/ko/LC_MESSAGES/gawk.mo
-share/locale/ms/LC_MESSAGES/gawk.mo
-share/locale/nl/LC_MESSAGES/gawk.mo
-share/locale/pl/LC_MESSAGES/gawk.mo
-share/locale/pt/LC_MESSAGES/gawk.mo
-share/locale/pt_BR/LC_MESSAGES/gawk.mo
-share/locale/ro/LC_MESSAGES/gawk.mo
-share/locale/sr/LC_MESSAGES/gawk.mo
-share/locale/sv/LC_MESSAGES/gawk.mo
-share/locale/uk/LC_MESSAGES/gawk.mo
-share/locale/vi/LC_MESSAGES/gawk.mo
-share/locale/zh_CN/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/bg/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/ca/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/id/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/ko/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/ms/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/ro/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/gawk.mo
+${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/gawk.mo
Index: pkgsrc/lang/gawk/options.mk
diff -u pkgsrc/lang/gawk/options.mk:1.3 pkgsrc/lang/gawk/options.mk:1.4
--- pkgsrc/lang/gawk/options.mk:1.3 Thu Jan 31 22:01:43 2013
+++ pkgsrc/lang/gawk/options.mk Wed May 1 20:02:14 2024
@@ -1,11 +1,13 @@
-# $NetBSD: options.mk,v 1.3 2013/01/31 22:01:43 adam Exp $
+# $NetBSD: options.mk,v 1.4 2024/05/01 20:02:14 cheusov Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gawk
-PKG_SUPPORTED_OPTIONS= portals readline
-PKG_SUGGESTED_OPTIONS= readline
+PKG_SUPPORTED_OPTIONS= portals readline nls
+PKG_SUGGESTED_OPTIONS= readline nls
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= nls
+
.if !empty(PKG_OPTIONS:Mportals)
CONFIGURE_ARGS+= --enable-portals
.endif
@@ -15,3 +17,11 @@ CONFIGURE_ARGS+= --enable-portals
.else
CONFIGURE_ARGS+= --without-readline
.endif
+
+# nls
+.if !empty(PKG_OPTIONS:Mnls)
+.include "../../devel/gettext-lib/buildlink3.mk"
+PLIST.nls= yes
+.else
+CONFIGURE_ARGS+= --disable-nls
+.endif
Home |
Main Index |
Thread Index |
Old Index