summaryrefslogtreecommitdiff
path: root/mk/flavor
diff options
context:
space:
mode:
authorjlam <jlam>2007-08-10 04:00:43 +0000
committerjlam <jlam>2007-08-10 04:00:43 +0000
commitc8368efa0e860c3f7b650f14ccacd650fe37a360 (patch)
treef5ec2d4d2a44f28e161664f6f559c5ab716227f3 /mk/flavor
parentf6b7c7f87f0bd124124348c1e32d199028e1b29c (diff)
downloadpkgsrc-c8368efa0e860c3f7b650f14ccacd650fe37a360.tar.gz
Remove ${WRKDIR}/.pkgdb during "install-clean" as that directory
contains files that are generated during the "install" phase. This should fix the problem where PLIST modifications were ignored if the PLIST was modified between a "make deinstall" and a "make reinstall".
Diffstat (limited to 'mk/flavor')
-rw-r--r--mk/flavor/pkg/install.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/mk/flavor/pkg/install.mk b/mk/flavor/pkg/install.mk
index 0f246d3468c..e813b027939 100644
--- a/mk/flavor/pkg/install.mk
+++ b/mk/flavor/pkg/install.mk
@@ -1,4 +1,4 @@
-# $NetBSD: install.mk,v 1.10 2007/05/22 16:17:16 joerg Exp $
+# $NetBSD: install.mk,v 1.11 2007/08/10 04:00:43 jlam Exp $
#
# _flavor-check-conflicts:
# Checks for conflicts between the package and installed packages.
@@ -15,6 +15,9 @@
# Populates the package database with the appropriate entries to
# register the package as being installed on the system.
#
+# _flavor-install-clean:
+# Removes the state files from the run of an ``install'' target.
+#
_flavor-check-conflicts: .PHONY error-check
${_PKG_SILENT}${_PKG_DEBUG}${RM} -f ${WRKDIR}/.CONFLICTS
@@ -66,3 +69,5 @@ _flavor-register: .PHONY generate-metadata ${_RDEPENDS_FILE}
esac
${_PKG_SILENT}${_PKG_DEBUG}${_FULL_DEPENDS_CMD} | \
${SORT} -u | ${_REGISTER_DEPENDENCIES} ${PKGNAME}
+
+_flavor-install-clean: .PHONY clean-metadata