summaryrefslogtreecommitdiff
path: root/mk/install
diff options
context:
space:
mode:
authorjoerg <joerg>2009-06-17 12:54:57 +0000
committerjoerg <joerg>2009-06-17 12:54:57 +0000
commit33222ef7ff444cc316a6c7c23e84f885934e6dbb (patch)
tree078f762d0ff3c12a8dd0656f211fe1c83cc0580b /mk/install
parentcd4295c7c5b45a23ed4b644d836e3937fd38fa31 (diff)
downloadpkgsrc-33222ef7ff444cc316a6c7c23e84f885934e6dbb.tar.gz
Make sure that _UPDATE_RUNNING=YES is passed down to su-deinstall for
PKG_PRESERVE packages (e.g. pkg_install). Otherwise an old version of pkg_install is not removed from pkgdb.
Diffstat (limited to 'mk/install')
-rw-r--r--mk/install/deinstall.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/install/deinstall.mk b/mk/install/deinstall.mk
index b98913efd53..029116c2329 100644
--- a/mk/install/deinstall.mk
+++ b/mk/install/deinstall.mk
@@ -1,4 +1,4 @@
-# $NetBSD: deinstall.mk,v 1.9 2007/08/20 10:59:05 joerg Exp $
+# $NetBSD: deinstall.mk,v 1.10 2009/06/17 12:54:57 joerg Exp $
# DEINSTALLDEPENDS controls whether dependencies and dependents are also
# removed when a package is de-installed. The valid values are:
@@ -40,7 +40,7 @@ su-deinstall: ${_SU_DEINSTALL_TARGETS}
acquire-deinstall-lock: acquire-localbase-lock
release-deinstall-lock: release-localbase-lock
-MAKEFLAGS.su-deinstall= DEINSTALLDEPENDS=${DEINSTALLDEPENDS}
+MAKEFLAGS.su-deinstall+= DEINSTALLDEPENDS=${DEINSTALLDEPENDS}
######################################################################
### reinstall (PUBLIC)