diff options
author | obache <obache@pkgsrc.org> | 2011-05-04 09:49:34 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2011-05-04 09:49:34 +0000 |
commit | ce557b206db1f231a7ad7f741a7d2d090d755658 (patch) | |
tree | c46a848384b352fdbe5c53b6affa0c9de2061f89 /mk/depends | |
parent | c9649b8ba94267cee01e8b8fd853a9f3d1a6dd4f (diff) | |
download | pkgsrc-ce557b206db1f231a7ad7f741a7d2d090d755658.tar.gz |
Also set `package-install' to UPDATE_TARGET/DEPENDS_TARGET if current target is
`package-install', to indirect dependency also create binary package with
`make package' or `make package-install'.
should fix PR#44857.
Diffstat (limited to 'mk/depends')
-rw-r--r-- | mk/depends/bsd.depends.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/depends/bsd.depends.mk b/mk/depends/bsd.depends.mk index 060013b750f..6ddd2b1c992 100644 --- a/mk/depends/bsd.depends.mk +++ b/mk/depends/bsd.depends.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.depends.mk,v 1.20 2010/02/25 02:06:34 joerg Exp $ +# $NetBSD: bsd.depends.mk,v 1.21 2011/05/04 09:49:34 obache Exp $ # # This Makefile fragment is included by bsd.pkg.mk and provides all # variables and targets related to dependencies. @@ -22,7 +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) +. if !empty(USE_DESTDIR:M[Yy][Ee][Ss]) || make(package) || make(package-install) DEPENDS_TARGET= package-install . elif make(update) . if defined(UPDATE_TARGET) && (${UPDATE_TARGET} == "replace") |