summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrh <rh@pkgsrc.org>2000-07-24 20:23:02 +0000
committerrh <rh@pkgsrc.org>2000-07-24 20:23:02 +0000
commit3a3e3fa9100f0a8b95b88007d91c5df6c7340e2a (patch)
tree342301177e5aa6960b3f506ea77e5e096486bb3a /mk
parent934cd4665a4b14f6b025bd9add445cbdb884b0f7 (diff)
downloadpkgsrc-3a3e3fa9100f0a8b95b88007d91c5df6c7340e2a.tar.gz
Let DEPENDS_TARGET default to 'install' not 'reinstall' for 'make update'.
This should fix the brokenness of resumed updates for those who do not set DEPENDS_TARGET in their /etc/mk.conf.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index b04e93f4343..6b5ee18e7cc 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.516 2000/07/23 18:42:48 fredb Exp $
+# $NetBSD: bsd.pkg.mk,v 1.517 2000/07/24 20:23:02 rh Exp $
#
# This file is in the public domain.
#
@@ -998,9 +998,13 @@ all: build
.if make(package)
DEPENDS_TARGET= package
.else
+.if make(update)
+DEPENDS_TARGET= install
+.else
DEPENDS_TARGET= reinstall
.endif
.endif
+.endif
################################################################
# The following are used to create easy dummy targets for