Prevent to force creation binary package in ${PACKAGES} for the case installing

dependency with USE_DESTDIR=yes unless creating binary packages.
This commit is contained in:
obache 2014-02-14 06:47:24 +00:00
parent 9564e4c80b
commit 3843e22c10

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.update.mk,v 1.24 2013/08/31 20:17:37 rillig Exp $
# $NetBSD: bsd.pkg.update.mk,v 1.25 2014/02/14 06:47:24 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) || make(package-install)
. make(package) || make(package-install)
UPDATE_TARGET= package-install
. else
UPDATE_TARGET= install