diff options
author | abs <abs@pkgsrc.org> | 2012-01-24 00:28:17 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2012-01-24 00:28:17 +0000 |
commit | 7b9f771d67b3be4d7ebf3855052cf4faa7fb0ff6 (patch) | |
tree | f85a98cd10c4e2d7421f40167e132a4f620557ce /databases/gdbm | |
parent | 68409c75b3b00831f340ad7df7067c15f24ec357 (diff) | |
download | pkgsrc-7b9f771d67b3be4d7ebf3855052cf4faa7fb0ff6.tar.gz |
Fo gdbm 'NLS' seems to mean 'can find _nl_expand_alias', which has a
certain Linux flavour to it.
Conditionalise the nls files in the PLIST to Linux for now
Bump PKGREVISION.
Fixes build on at least NetBSD
Diffstat (limited to 'databases/gdbm')
-rw-r--r-- | databases/gdbm/Makefile | 13 | ||||
-rw-r--r-- | databases/gdbm/PLIST | 12 |
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 |