summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.update.mk
diff options
context:
space:
mode:
authorobache <obache>2014-02-14 06:47:24 +0000
committerobache <obache>2014-02-14 06:47:24 +0000
commit9d7eab8885054089cea6938236753abe1c3760cb (patch)
tree58d05a441eee7eb785acb467659dd055ee1add2e /mk/bsd.pkg.update.mk
parent03d1a945dad58322efe39a60f1eaa96f238554ac (diff)
downloadpkgsrc-9d7eab8885054089cea6938236753abe1c3760cb.tar.gz
Prevent to force creation binary package in ${PACKAGES} for the case installing
dependency with USE_DESTDIR=yes unless creating binary packages.
Diffstat (limited to 'mk/bsd.pkg.update.mk')
-rw-r--r--mk/bsd.pkg.update.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.update.mk b/mk/bsd.pkg.update.mk
index f4a9514c3cf..d48e657d868 100644
--- a/mk/bsd.pkg.update.mk
+++ b/mk/bsd.pkg.update.mk
@@ -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