diff options
| author | dholland <dholland@pkgsrc.org> | 2016-06-11 21:26:19 +0000 |
|---|---|---|
| committer | dholland <dholland@pkgsrc.org> | 2016-06-11 21:26:19 +0000 |
| commit | 74cad7955710e48828226e563ae3db87412ce2a0 (patch) | |
| tree | 1035a11e643f8513454cf8d86d558150185cae5e /pkgtools/pkg_filecheck/Makefile | |
| parent | b73038dfc029de34294d64c6666a45a126df7969 (diff) | |
| download | pkgsrc-74cad7955710e48828226e563ae3db87412ce2a0.tar.gz | |
Add patch from Tim Zingelman in PR 46421 to make it work on machines
whose libdb is not the db-1.85 that's in the libc of 4.4 derivates.
Since this program reads the package database it must use the same
libdb as pkg_install, and that's the one in libnbcompat rather than
the one you get from bdb.buildlink3.mk.
Bump PKGREVISION to 5.
Diffstat (limited to 'pkgtools/pkg_filecheck/Makefile')
| -rw-r--r-- | pkgtools/pkg_filecheck/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/pkgtools/pkg_filecheck/Makefile b/pkgtools/pkg_filecheck/Makefile index 2c69a6e1460..a55c62420d5 100644 --- a/pkgtools/pkg_filecheck/Makefile +++ b/pkgtools/pkg_filecheck/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.40 2015/07/04 16:18:39 joerg Exp $ +# $NetBSD: Makefile,v 1.41 2016/06/11 21:26:19 dholland Exp $ # PKGNAME= pkg_filecheck-0.4 -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= pkgtools devel MAINTAINER= pkgsrc-users@NetBSD.org @@ -14,6 +14,9 @@ WRKSRC= ${WRKDIR} USE_TOOLS+= perl:run USE_FEATURES= fts_open +USE_FEATURES+= nbcompat +NBCOMPAT_CONFIGURE_ARGS+= --enable-db + FILES_SUBST+= PKG_DBDIR=${PKG_DBDIR:Q} CONF_FILES= ${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf \ ${PKG_SYSCONFDIR}/pkg_filecheck.conf @@ -50,6 +53,6 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/pkg_filecheck.conf \ ${DESTDIR}${PREFIX}/share/examples/pkg_filecheck/pkg_filecheck.conf - -.include "../../mk/bdb.buildlink3.mk" +# Must use the same libdb as pkg_install, which means the nbcompat one. +#.include "../../mk/bdb.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |
