summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/gdbm/Makefile13
-rw-r--r--databases/gdbm/PLIST12
2 files changed, 17 insertions, 8 deletions
diff --git a/databases/gdbm/Makefile b/databases/gdbm/Makefile
index 8f54bb91322..b580d2594eb 100644
--- a/databases/gdbm/Makefile
+++ b/databases/gdbm/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.45 2012/01/23 07:04:15 sbd Exp $
+# $NetBSD: Makefile,v 1.46 2012/01/24 00:28:17 abs Exp $
.include "Makefile.common"
COMMENT= The GNU database manager
-PKGREVISION= 1
+PKGREVISION= 2
PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
@@ -11,4 +11,13 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
INFO_FILES= yes
MAKE_JOBS_SAFE= no
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= nls
+
+.if ${OPSYS} == "Linux"
+PLIST.nls= yes
+.endif
+
.include "../../mk/bsd.pkg.mk"
+
diff --git a/databases/gdbm/PLIST b/databases/gdbm/PLIST
index b9bb86dc590..f72384e2045 100644
--- a/databases/gdbm/PLIST
+++ b/databases/gdbm/PLIST
@@ -1,11 +1,11 @@
-@comment $NetBSD: PLIST,v 1.9 2012/01/23 07:04:15 sbd Exp $
+@comment $NetBSD: PLIST,v 1.10 2012/01/24 00:28:17 abs Exp $
bin/testgdbm
include/gdbm.h
info/gdbm.info
lib/libgdbm.la
man/man3/gdbm.3
-share/locale/de/LC_MESSAGES/gdbm.mo
-share/locale/fi/LC_MESSAGES/gdbm.mo
-share/locale/ja/LC_MESSAGES/gdbm.mo
-share/locale/pl/LC_MESSAGES/gdbm.mo
-share/locale/uk/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/gdbm.mo
+${PLIST.nls}share/locale/fi/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/uk/LC_MESSAGES/gdbm.mo