summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2003-08-31 11:11:20 +0000
committerjlam <jlam>2003-08-31 11:11:20 +0000
commitfb14844a4cb41ee139271d4b387182eb998a79ad (patch)
treef3b98e0c0bbe04cc2edbcdd38991e6d27336287a /pkgtools/pkg_install/Makefile
parentf247241aa427776aad542dcf674abc26a8cab9c9 (diff)
downloadpkgsrc-fb14844a4cb41ee139271d4b387182eb998a79ad.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/Makefile')
-rw-r--r--pkgtools/pkg_install/Makefile5
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"