diff options
author | rillig <rillig@pkgsrc.org> | 2020-06-11 20:13:22 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-06-11 20:13:22 +0000 |
commit | 17b7c50faedce09bedb7ef8907bea0ec937e5b6c (patch) | |
tree | 2b5e0a50e06554ed60d72df7ac9db98c1bc2c54e /mk | |
parent | c714304080ff2f5da6cbd6dc81ccd74642b29342 (diff) | |
download | pkgsrc-17b7c50faedce09bedb7ef8907bea0ec937e5b6c.tar.gz |
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 (limited to 'mk')
-rw-r--r-- | mk/subst.mk | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mk/subst.mk b/mk/subst.mk index d8ed0297bff..6441c7bd429 100644 --- a/mk/subst.mk +++ b/mk/subst.mk @@ -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 @@ PKG_FAIL_REASON+= "[subst.mk:${class}] SUBST_FILTER_CMD and SUBST_SED/SUBST_VAR .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 |