diff options
author | joerg <joerg@pkgsrc.org> | 2006-11-03 08:04:06 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2006-11-03 08:04:06 +0000 |
commit | ba4ea7aabeea5232efb61d09c65deaf199f3cce5 (patch) | |
tree | 8e757b1aca37d07837a34372adbe9d6248e0bcf7 /mk | |
parent | 62b03eb280a0a0154561b8d87271a734f2939b9a (diff) | |
download | pkgsrc-ba4ea7aabeea5232efb61d09c65deaf199f3cce5.tar.gz |
Don't reset the "installed" state when using DESTDIR operations on
deinstall. The semantic of deinstall should stay as "remove the
installed version" and the old behaviour force a repackaging.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/install/deinstall.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/install/deinstall.mk b/mk/install/deinstall.mk index c6c4299751e..40e67142409 100644 --- a/mk/install/deinstall.mk +++ b/mk/install/deinstall.mk @@ -1,4 +1,4 @@ -# $NetBSD: deinstall.mk,v 1.6 2006/08/09 15:31:01 jlam Exp $ +# $NetBSD: deinstall.mk,v 1.7 2006/11/03 08:04:06 joerg Exp $ # DEINSTALLDEPENDS controls whether dependencies and dependents are also # removed when a package is de-installed. The valid values are: @@ -24,7 +24,9 @@ deinstall: su-target _SU_DEINSTALL_TARGETS= acquire-deinstall-lock _SU_DEINSTALL_TARGETS+= deinstall-pkg _SU_DEINSTALL_TARGETS+= release-deinstall-lock +.if ${_USE_DESTDIR} == "no" _SU_DEINSTALL_TARGETS+= install-clean +.endif su-deinstall: ${_SU_DEINSTALL_TARGETS} .PHONY: acquire-deinstall-lock release-deinstall-lock |