Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/tools mk/tools/bsd.tools.mk: include _TOOLS_VARNAME...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2ea11c0f0a03
branches:  trunk
changeset: 431163:2ea11c0f0a03
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat May 09 21:04:14 2020 +0000

description:
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:

 mk/tools/bsd.tools.mk |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (16 lines):

diff -r b3395df988bf -r 2ea11c0f0a03 mk/tools/bsd.tools.mk
--- a/mk/tools/bsd.tools.mk     Sat May 09 20:50:20 2020 +0000
+++ b/mk/tools/bsd.tools.mk     Sat May 09 21:04:14 2020 +0000
@@ -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 @@
        # 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



Home | Main Index | Thread Index | Old Index