diff options
author | rh <rh> | 2000-07-24 20:23:02 +0000 |
---|---|---|
committer | rh <rh> | 2000-07-24 20:23:02 +0000 |
commit | 299427ca95a3913c8205db1e2a6bfebe4c5c724f (patch) | |
tree | 342301177e5aa6960b3f506ea77e5e096486bb3a /mk | |
parent | d1a8320c217ca547b492d92c83247117f684cb48 (diff) | |
download | pkgsrc-299427ca95a3913c8205db1e2a6bfebe4c5c724f.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.mk | 6 |
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 |