Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk mk/subst.mk: remove unnecessary SUBST_VARS definition



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8722e227e266
branches:  trunk
changeset: 434146:8722e227e266
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Jun 11 20:13:22 2020 +0000

description:
mk/subst.mk: remove unnecessary SUBST_VARS definition

This is a package-settable variable, and if a package leaves it
undefined, "bmake show-all-subst" should show exactly this.

diffstat:

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

diffs (17 lines):

diff -r 506f58439b02 -r 8722e227e266 mk/subst.mk
--- a/mk/subst.mk       Thu Jun 11 20:10:53 2020 +0000
+++ b/mk/subst.mk       Thu Jun 11 20:13:22 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.98 2020/06/11 19:38:40 rillig Exp $
+# $NetBSD: subst.mk,v 1.99 2020/06/11 20:13:22 rillig Exp $
 #
 # The subst framework replaces text in one or more files in the WRKSRC
 # directory. Packages can define several ``classes'' of replacements.
@@ -145,7 +145,6 @@
 .endif
 
 SUBST_FILTER_CMD.${class}?=    LC_ALL=C ${SED} ${SUBST_SED.${class}}
-SUBST_VARS.${class}?=          # none
 SUBST_MESSAGE.${class}?=       Substituting "${class}" in ${SUBST_FILES.${class}}
 .  for v in ${SUBST_VARS.${class}}
 SUBST_FILTER_CMD.${class}+=    -e s,@${v:C|[.[\\*^]|\\\\&|gW:Q}@,${${v}:S|\\|\\\\|gW:S|,|\\,|gW:S|&|\\\&|gW:S|${.newline}|\\${.newline}|gW:Q},g



Home | Main Index | Thread Index | Old Index