pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk
Module Name: pkgsrc
Committed By: rillig
Date: Thu Jun 11 20:13:22 UTC 2020
Modified Files:
pkgsrc/mk: subst.mk
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.98 -r1.99 pkgsrc/mk/subst.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/subst.mk
diff -u pkgsrc/mk/subst.mk:1.98 pkgsrc/mk/subst.mk:1.99
--- pkgsrc/mk/subst.mk:1.98 Thu Jun 11 19:38:40 2020
+++ pkgsrc/mk/subst.mk Thu Jun 11 20:13:22 2020
@@ -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}]
.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