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: Wed Jul 6 20:59:51 UTC 2022
Modified Files:
pkgsrc/mk: subst.mk
Log Message:
mk/subst.mk: fix indentation of directives
To generate a diff of this commit:
cvs rdiff -u -r1.104 -r1.105 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.104 pkgsrc/mk/subst.mk:1.105
--- pkgsrc/mk/subst.mk:1.104 Wed May 19 14:44:22 2021
+++ pkgsrc/mk/subst.mk Wed Jul 6 20:59:51 2022
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.104 2021/05/19 14:44:22 triaxx Exp $
+# $NetBSD: subst.mk,v 1.105 2022/07/06 20:59:51 rillig Exp $
#
# The subst framework replaces text in one or more files in the WRKSRC
# directory. Packages can define several ``classes'' of replacements.
@@ -133,9 +133,9 @@ PKG_FAIL_REASON+= "[subst.mk] duplicate
.for class in ${SUBST_CLASSES:O:u}
_SUBST_COOKIE.${class}= ${WRKDIR}/.subst_${class}_done
-.if defined(SUBST_FILTER_CMD.${class}) && (defined(SUBST_SED.${class}) || defined(SUBST_VARS.${class}))
+. if defined(SUBST_FILTER_CMD.${class}) && (defined(SUBST_SED.${class}) || defined(SUBST_VARS.${class}))
PKG_FAIL_REASON+= "[subst.mk:${class}] SUBST_FILTER_CMD and SUBST_SED/SUBST_VARS cannot be combined."
-.endif
+. endif
SUBST_FILTER_CMD.${class}?= LC_ALL=C ${SED} ${SUBST_SED.${class}}
SUBST_MESSAGE.${class}?= Substituting "${class}" in ${SUBST_FILES.${class}}
Home |
Main Index |
Thread Index |
Old Index