summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_install/Makefile
diff options
context:
space:
mode:
authorerh <erh>2004-11-02 00:10:15 +0000
committererh <erh>2004-11-02 00:10:15 +0000
commitb6b198e10fb52f0997681f9bffb37933ae6292b3 (patch)
treee384ac20bebc2850622fc4005a67c5ccae82ad8c /pkgtools/pkg_install/Makefile
parent20753369c103825ed1f5a20f5a5324b38e438452 (diff)
downloadpkgsrc-b6b198e10fb52f0997681f9bffb37933ae6292b3.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}