summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2017-08-19 00:30:31 +0000
committerjlam <jlam@pkgsrc.org>2017-08-19 00:30:31 +0000
commite435022bf2642c58055c55e538a64ed26087ecd8 (patch)
tree01f1540662fbe58f35f3bf3c86dc9eabbb7b0b3e /mk
parente84b175bbfdcc5a1a2c90387037522ca0438ccce (diff)
downloadpkgsrc-e435022bf2642c58055c55e538a64ed26087ecd8.tar.gz
Bump dependency on pkgtasks to version that supports TASK_VERBOSE.
Pass TASK_VERBOSE=all to the install and deinstall scripts if PKG_VERBOSE is defined by the user.
Diffstat (limited to 'mk')
-rw-r--r--mk/pkgtasks/bsd.pkgtasks.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/pkgtasks/bsd.pkgtasks.mk b/mk/pkgtasks/bsd.pkgtasks.mk
index 1ef98d720a5..4ed54ad2d02 100644
--- a/mk/pkgtasks/bsd.pkgtasks.mk
+++ b/mk/pkgtasks/bsd.pkgtasks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkgtasks.mk,v 1.6 2017/08/10 05:41:53 jlam Exp $
+# $NetBSD: bsd.pkgtasks.mk,v 1.7 2017/08/19 00:30:31 jlam Exp $
#
# Copyright (c) 2017 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -152,10 +152,13 @@ USE_PKGTASKS= no
.include "${PKGSRCDIR}/mk/pkgtasks/usergroup.mk"
# Add a dependency on pkgtasks if package tasks are needed.
-_PKGTASKS_DEPENDS= pkgtasks-1>=1.12:../../pkgtools/pkgtasks
+_PKGTASKS_DEPENDS= pkgtasks-1>=1.14:../../pkgtools/pkgtasks
DEPENDS+= ${"${USE_PKGTASKS:tl}" == "yes":?${_PKGTASKS_DEPENDS}:}
TASK_MODULE_DIR?= ${LOCALBASE}/share/pkgtasks-1
+# Make package tasks verbose if PKG_VERBOSE is defined.
+PKGTOOLS_ENV+= ${PKG_VERBOSE:DTASK_VERBOSE=all}
+
# PKGTASKS_DATAFILE
# The formatted data file for use by pkgtools/pkgtasks.
#