diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-31 11:11:20 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-31 11:11:20 +0000 |
commit | bc4555eb2068d4b2ad49a0b876a51a1d851a74b6 (patch) | |
tree | f3b98e0c0bbe04cc2edbcdd38991e6d27336287a /pkgtools | |
parent | 1af225ae22fd0148bb0a9dd3a3561ef3d9fb0c52 (diff) | |
download | pkgsrc-bc4555eb2068d4b2ad49a0b876a51a1d851a74b6.tar.gz |
Explicitly call pkg_admin(1) using "PKG_DBDIR=... pkg_admin" so that we
don't use any options/flags not supported by pkg_admin that may be a part
of ${PKG_ADMIN}.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_install/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile index ffbca0fb1a1..5a9f1a9751d 100644 --- a/pkgtools/pkg_install/Makefile +++ b/pkgtools/pkg_install/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.75 2003/08/31 11:06:02 jlam Exp $ +# $NetBSD: Makefile,v 1.76 2003/08/31 11:11:20 jlam Exp $ # Notes to package maintainers: # @@ -47,7 +47,8 @@ post-install: if [ ! -d ${PKG_DBDIR} ]; then \ ${INSTALL_DATA_DIR} ${PKG_DBDIR}; \ fi; \ - ${PKG_ADMIN} rebuild; \ + ${SETENV} PKG_DBDIR=${PKG_DBDIR} \ + ${PKG_ADMIN_CMD} rebuild; \ fi .include "../../mk/bsd.pkg.mk" |