pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/install Don't reset the "installed" state when usin...
details: https://anonhg.NetBSD.org/pkgsrc/rev/7db00132474f
branches: trunk
changeset: 520948:7db00132474f
user: joerg <joerg%pkgsrc.org@localhost>
date: Fri Nov 03 08:04:06 2006 +0000
description:
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:
mk/install/deinstall.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diffs (19 lines):
diff -r 587082f73274 -r 7db00132474f mk/install/deinstall.mk
--- a/mk/install/deinstall.mk Fri Nov 03 08:01:04 2006 +0000
+++ b/mk/install/deinstall.mk Fri Nov 03 08:04:06 2006 +0000
@@ -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 @@
_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
Home |
Main Index |
Thread Index |
Old Index