pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/gdbm



Module Name:    pkgsrc
Committed By:   cheusov
Date:           Wed May  1 22:06:33 UTC 2024

Modified Files:
        pkgsrc/databases/gdbm: Makefile PLIST
Added Files:
        pkgsrc/databases/gdbm: options.mk

Log Message:
Add option "nls" enabled by default


To generate a diff of this commit:
cvs rdiff -u -r1.54 -r1.55 pkgsrc/databases/gdbm/Makefile
cvs rdiff -u -r1.15 -r1.16 pkgsrc/databases/gdbm/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/databases/gdbm/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/databases/gdbm/Makefile
diff -u pkgsrc/databases/gdbm/Makefile:1.54 pkgsrc/databases/gdbm/Makefile:1.55
--- pkgsrc/databases/gdbm/Makefile:1.54 Sun Jan 28 19:40:22 2018
+++ pkgsrc/databases/gdbm/Makefile      Wed May  1 22:06:33 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.54 2018/01/28 19:40:22 wiz Exp $
+# $NetBSD: Makefile,v 1.55 2024/05/01 22:06:33 cheusov Exp $
 
 .include "Makefile.common"
 
@@ -6,8 +6,10 @@ COMMENT=       The GNU database manager
 
 INFO_FILES=            yes
 
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
+
 .include "../../converters/libiconv/buildlink3.mk"
-.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/readline/buildlink3.mk"
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/databases/gdbm/PLIST
diff -u pkgsrc/databases/gdbm/PLIST:1.15 pkgsrc/databases/gdbm/PLIST:1.16
--- pkgsrc/databases/gdbm/PLIST:1.15    Mon Jan  4 10:41:13 2021
+++ pkgsrc/databases/gdbm/PLIST Wed May  1 22:06:33 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.15 2021/01/04 10:41:13 wiz Exp $
+@comment $NetBSD: PLIST,v 1.16 2024/05/01 22:06:33 cheusov Exp $
 bin/gdbm_dump
 bin/gdbm_load
 bin/gdbmtool
@@ -9,17 +9,17 @@ man/man1/gdbm_dump.1
 man/man1/gdbm_load.1
 man/man1/gdbmtool.1
 man/man3/gdbm.3
-share/locale/da/LC_MESSAGES/gdbm.mo
-share/locale/de/LC_MESSAGES/gdbm.mo
-share/locale/eo/LC_MESSAGES/gdbm.mo
-share/locale/es/LC_MESSAGES/gdbm.mo
-share/locale/fi/LC_MESSAGES/gdbm.mo
-share/locale/fr/LC_MESSAGES/gdbm.mo
-share/locale/ja/LC_MESSAGES/gdbm.mo
-share/locale/pl/LC_MESSAGES/gdbm.mo
-share/locale/pt_BR/LC_MESSAGES/gdbm.mo
-share/locale/ru/LC_MESSAGES/gdbm.mo
-share/locale/sr/LC_MESSAGES/gdbm.mo
-share/locale/sv/LC_MESSAGES/gdbm.mo
-share/locale/uk/LC_MESSAGES/gdbm.mo
-share/locale/vi/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/pt_BR/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/sr/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/vi/LC_MESSAGES/gdbm.mo

Added files:

Index: pkgsrc/databases/gdbm/options.mk
diff -u /dev/null pkgsrc/databases/gdbm/options.mk:1.1
--- /dev/null   Wed May  1 22:06:33 2024
+++ pkgsrc/databases/gdbm/options.mk    Wed May  1 22:06:33 2024
@@ -0,0 +1,18 @@
+# $NetBSD: options.mk,v 1.1 2024/05/01 22:06:33 cheusov Exp $
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.gdbm
+
+PKG_SUPPORTED_OPTIONS=         nls
+PKG_SUGGESTED_OPTIONS=         nls
+
+PLIST_VARS+=   nls
+
+.include "../../mk/bsd.options.mk"
+
+# 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