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 | 05be31747aca5ec4bd7ff3cfe266c271a6b3873f (patch) | |
tree | f3b98e0c0bbe04cc2edbcdd38991e6d27336287a /pkgtools/pkg_install | |
parent | b8762b0a9df239f4f5e59c946ea418b41ab7806d (diff) | |
download | pkgsrc-05be31747aca5ec4bd7ff3cfe266c271a6b3873f.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/pkg_install')
-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" |