summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authorerh <erh@pkgsrc.org>2004-11-02 00:10:15 +0000
committererh <erh@pkgsrc.org>2004-11-02 00:10:15 +0000
commitf9fcee4b60a66f400a001744730ac3866ee48d95 (patch)
treee384ac20bebc2850622fc4005a67c5ccae82ad8c /pkgtools/pkg_install/Makefile
parent26f3159c846fb5987331259a76d8530970f1e6e1 (diff)
downloadpkgsrc-f9fcee4b60a66f400a001744730ac3866ee48d95.tar.gz
Add a -N option to pkg_delete to delete registration information for a package
but not its files. Override PKG_DELETE when building this package so -N can be used to upgrade an existing install. Bump version to 20041101.
Diffstat (limited to 'pkgtools/pkg_install/Makefile')
-rw-r--r--pkgtools/pkg_install/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 9b31300308b..a45c20d564a 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.104 2004/10/05 21:08:32 erh Exp $
+# $NetBSD: Makefile,v 1.105 2004/11/02 00:10:15 erh Exp $
# Notes to package maintainers:
#
@@ -36,9 +36,12 @@ PKG_PRESERVE= # defined
# compiler to avoid problems with depending on pkgsrc GCC for building
# pkg_install. We also avoid building digest as that would involve
# using the newer pkg_install tools.
+# We also use the newly built pkg_delete since upgrading from
+# an older pkg_install might required features of the new program.
#
USE_NATIVE_GCC= yes
USE_DIGEST= no
+PKG_DELETE= ${WRKSRC}/delete/pkg_delete
PLIST_SUBST+= MANDIR=${MANDIR}
PLIST_SUBST+= PKG_TOOLS_BIN=${PKG_TOOLS_BIN}