Skip to content

Commit

Permalink
Default DEPENDS_TARGET to replace if UPDATE_TARGET == replace. This a…
Browse files Browse the repository at this point in the history
…voids

multiple rebuilding attempts for prerequisite packages.
  • Loading branch information
rh committed May 4, 2003
1 parent 8e0060e commit 7c10a7d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mk/bsd.pkg.mk
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.1178 2003/05/04 01:20:13 rh Exp $
# $NetBSD: bsd.pkg.mk,v 1.1179 2003/05/04 02:59:15 rh Exp $
#
# This file is in the public domain.
#
Expand Down Expand Up @@ -1204,7 +1204,11 @@ all: build
. if make(package)
DEPENDS_TARGET= package
. elif make(update)
. if defined(UPDATE_TARGET) && ${UPDATE_TARGET} == "replace"
DEPENDS_TARGET= ${UPDATE_TARGET}
. else
DEPENDS_TARGET= update
. endif
. elif make(bin-install)
DEPENDS_TARGET= bin-install
. else
Expand Down

0 comments on commit 7c10a7d

Please sign in to comment.