pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Prefer package-destdir as default for update with U...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b72b3eece4ad
branches:  trunk
changeset: 540747:b72b3eece4ad
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Mon Apr 07 13:31:15 2008 +0000

description:
Prefer package-destdir as default for update with USE_DESTDIR.

diffstat:

 mk/bsd.pkg.update.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r ea452e9bb58c -r b72b3eece4ad mk/bsd.pkg.update.mk
--- a/mk/bsd.pkg.update.mk      Mon Apr 07 13:25:32 2008 +0000
+++ b/mk/bsd.pkg.update.mk      Mon Apr 07 13:31:15 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.update.mk,v 1.14 2008/02/07 21:36:13 rillig Exp $
+# $NetBSD: bsd.pkg.update.mk,v 1.15 2008/04/07 13:31:15 joerg Exp $
 #
 # This Makefile fragment is included by bsd.pkg.mk and contains the targets
 # and variables for "make update".
@@ -16,7 +16,9 @@
 #
 .if !defined(UPDATE_TARGET)
 .  if defined(DEPENDS_TARGET) && (${DEPENDS_TARGET} == "update")
-.    if make(package)
+.    if ${_USE_DESTDIR} != "no"
+UPDATE_TARGET= package-install
+.    elif make(package)
 UPDATE_TARGET= package
 .    else
 UPDATE_TARGET= install



Home | Main Index | Thread Index | Old Index