diff options
author | jlam <jlam@pkgsrc.org> | 2007-08-10 04:00:43 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2007-08-10 04:00:43 +0000 |
commit | 950ceaa24fb27f42fafb57c9b978d445869f86ac (patch) | |
tree | f5ec2d4d2a44f28e161664f6f559c5ab716227f3 /mk/flavor | |
parent | d287df44ff348ec9d6ac00604d481701927e8771 (diff) | |
download | pkgsrc-950ceaa24fb27f42fafb57c9b978d445869f86ac.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.mk | 7 |
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 |