summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrh <rh>1999-08-27 11:23:48 +0000
committerrh <rh>1999-08-27 11:23:48 +0000
commit38a581a91d32d53ec4873f0801b54c7aba930a30 (patch)
tree81d7b11732f2cc9fccb6ac1d6591e18bc24ceb21
parentcd9ac8a2d4749cf393192e6c3782f250a6cdaaa3 (diff)
downloadpkgsrc-38a581a91d32d53ec4873f0801b54c7aba930a30.tar.gz
Fix DEINSTALLDEPENDS for su commands that do not preserve environments.
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index ed5487d063b..30768946e6d 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.325 1999/08/26 15:29:58 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.326 1999/08/27 11:23:48 rh Exp $
#
# This file is in the public domain.
#
@@ -1550,7 +1550,7 @@ pkg-su-deinstall: uptodate-pkgtools
else \
make=`${TYPE} ${MAKE} | ${AWK} '{ print $$NF }'`; \
${ECHO_MSG} "===> Becoming root@`/bin/hostname` to deinstall ${PKGNAME}."; \
- ${SU_CMD} "cd ${.CURDIR}; $$make ${.MAKEFLAGS} PKG_DEBUG_LEVEL=${PKG_DEBUG_LEVEL} root-deinstall"; \
+ ${SU_CMD} "cd ${.CURDIR}; $$make ${.MAKEFLAGS} PKG_DEBUG_LEVEL=${PKG_DEBUG_LEVEL} root-deinstall DEINSTALLDEPENDS=${DEINSTALLDEPENDS}"; \
fi