summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>1999-09-08 22:01:19 +0000
committerhubertf <hubertf@pkgsrc.org>1999-09-08 22:01:19 +0000
commitcc41b1afabb4d2c262902b5e0b724c262915fc8c (patch)
tree13afd82a0a71683d75fe18b72c47db6745710e4a /mk
parent71597461f76432018b1f14ae31c4af97ef0c2b94 (diff)
downloadpkgsrc-cc41b1afabb4d2c262902b5e0b724c262915fc8c.tar.gz
Add '-r' to root-install-flags if DEINSTALLDEPENDS is set to != "ALL".
(This doesn't affect the "make update" target, it just makes "make deinstall DEINSTALLDEPENDS=YES" behave sane).
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index ed48c54744f..06aed1a3c60 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.335 1999/09/08 14:58:34 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.336 1999/09/08 22:01:19 hubertf Exp $
#
# This file is in the public domain.
#
@@ -1581,7 +1581,9 @@ pkg-su-deinstall: uptodate-pkgtools
.if (${DEINSTALLDEPENDS} != "NO")
.if (${DEINSTALLDEPENDS} != "ALL")
-root-install-flags+= -R
+# used for removing stuff in bulk builds
+root-install-flags+= -r -R
+# used for "update" target
.else
root-install-flags+= -r
.endif