summaryrefslogtreecommitdiff
path: root/mk/tools
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-09 21:04:14 +0000
committerrillig <rillig@pkgsrc.org>2020-05-09 21:04:14 +0000
commit65a19eb66ed48be59097b85806bdc59b517e64ca (patch)
tree64f2751908b58eb28803f8e64043df34e4e1dcb6 /mk/tools
parentc50b9583a2617df6370d79b2e1ec2e847e486218 (diff)
downloadpkgsrc-65a19eb66ed48be59097b85806bdc59b517e64ca.tar.gz
mk/tools/bsd.tools.mk: include _TOOLS_VARNAME in show-all-tools
This information is useful for getting the variable name that corresponds to a tool. In most cases this is just the uppercase name of the tool, but there are exceptions like ${SETENV} for env, ${HOSTNAME_CMD} for hostname.
Diffstat (limited to 'mk/tools')
-rw-r--r--mk/tools/bsd.tools.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/tools/bsd.tools.mk b/mk/tools/bsd.tools.mk
index a0cf2713d3e..ed8f791cd33 100644
--- a/mk/tools/bsd.tools.mk
+++ b/mk/tools/bsd.tools.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.tools.mk,v 1.60 2020/03/13 17:33:02 rillig Exp $
+# $NetBSD: bsd.tools.mk,v 1.61 2020/05/09 21:04:14 rillig Exp $
#
# Copyright (c) 2005, 2006 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -180,5 +180,6 @@ _PKG_VARS.tools= USE_TOOLS TOOLS_BROKEN TOOLS_CREATE \
# nil
_SYS_VARS.tools+= ${pv}.${t}
. endfor
+_DEF_VARS.tools+= _TOOLS_VARNAME.${t} _TOOLS_VARNAME_GNU.${t}
.endfor
_SORTED_VARS.tools= USE_TOOLS TOOLS_CREATE TOOLS_GNU_MISSING