diff options
Diffstat (limited to 'mk/depends')
-rw-r--r-- | mk/depends/bsd.depends.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/depends/bsd.depends.mk b/mk/depends/bsd.depends.mk index 9e29c1d4774..6ca4604ba59 100644 --- a/mk/depends/bsd.depends.mk +++ b/mk/depends/bsd.depends.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.depends.mk,v 1.22 2011/10/15 00:23:08 reed Exp $ +# $NetBSD: bsd.depends.mk,v 1.23 2012/10/01 09:54:18 bad Exp $ # # This Makefile fragment is included by bsd.pkg.mk and provides all # variables and targets related to dependencies. @@ -22,9 +22,7 @@ SKIP_DEPENDS?= no # dependencies. This variable is user-settable in /etc/mk.conf. # .if !defined(DEPENDS_TARGET) -. if !empty(USE_DESTDIR:M[Yy][Ee][Ss]) || make(package) || make(package-install) -DEPENDS_TARGET= package-install -. elif make(update) +. if make(update) . if defined(UPDATE_TARGET) && (${UPDATE_TARGET} == "replace") DEPENDS_TARGET= ${UPDATE_TARGET} . else @@ -32,6 +30,8 @@ DEPENDS_TARGET= update . endif . elif make(bin-install) || make(su-bin-install) DEPENDS_TARGET= bin-install +. elif !empty(USE_DESTDIR:M[Yy][Ee][Ss]) || make(package) || make(package-install) +DEPENDS_TARGET= package-install . else DEPENDS_TARGET= reinstall . endif |