pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk mk/subst.mk: fix indentation of directives



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ff36f81f32b0
branches:  trunk
changeset: 381419:ff36f81f32b0
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Wed Jul 06 20:59:51 2022 +0000

description:
mk/subst.mk: fix indentation of directives

diffstat:

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

diffs (21 lines):

diff -r 9a414d0ae2a8 -r ff36f81f32b0 mk/subst.mk
--- a/mk/subst.mk       Wed Jul 06 20:37:55 2022 +0000
+++ b/mk/subst.mk       Wed Jul 06 20:59:51 2022 +0000
@@ -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 @@
 .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