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 | |
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')
-rw-r--r-- | mk/bsd.pkg.update.mk | 4 | ||||
-rw-r--r-- | mk/depends/bsd.depends.mk | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.pkg.update.mk b/mk/bsd.pkg.update.mk index 1d0fe46408e..5f9a6742850 100644 --- a/mk/bsd.pkg.update.mk +++ b/mk/bsd.pkg.update.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.update.mk,v 1.22 2010/07/03 04:24:14 darcy Exp $ +# $NetBSD: bsd.pkg.update.mk,v 1.23 2011/05/04 09:49:34 obache Exp $ # # This Makefile fragment is included by bsd.pkg.mk and contains the targets # and variables for "make update". @@ -16,7 +16,7 @@ REINSTALL?= NO # reinstall upon update # .if !defined(UPDATE_TARGET) . if defined(DEPENDS_TARGET) && (${DEPENDS_TARGET} == "update") -. if ${_USE_DESTDIR} != "no" || make(package) +. if ${_USE_DESTDIR} != "no" || make(package) || make(package-install) UPDATE_TARGET= package-install . else UPDATE_TARGET= install 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") |