pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk Fix whitespace issues reported by pkglint



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db473051efd6
branches:  trunk
changeset: 324140:db473051efd6
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Oct 08 20:35:00 2018 +0000

description:
Fix whitespace issues reported by pkglint

diffstat:

 mk/misc/uac-manifest.mk |  6 +++---
 mk/subst.mk             |  4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 7368220fb270 -r db473051efd6 mk/misc/uac-manifest.mk
--- a/mk/misc/uac-manifest.mk   Mon Oct 08 20:13:35 2018 +0000
+++ b/mk/misc/uac-manifest.mk   Mon Oct 08 20:35:00 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: uac-manifest.mk,v 1.2 2013/08/31 20:54:07 rillig Exp $
+# $NetBSD: uac-manifest.mk,v 1.3 2018/10/08 20:35:00 rillig Exp $
 #
 # This file generates manifest files for Windows.
 #
@@ -21,7 +21,7 @@
 UAC_MANIFEST_GENERATE_PLIST= \
        ${ECHO} "@comment The following lines are automatically generated." && \
        ( cd ${DESTDIR}${PREFIX}; \
-         for file in  ${UAC_REQD_EXECS}; do \
+         for file in ${UAC_REQD_EXECS}; do \
              ${TEST} $${file} -ef $${file}.exe && file=$${file}.exe; \
              ${ECHO} $${file}.manifest; \
          done)
@@ -37,4 +37,4 @@
        ${SED} -e s,@PKGNAME@,${PKGBASE}, -e s,@PROGNAME@,$${progname}, \
                ${PKGSRCDIR}/mk/misc/uac-manifest \
                > $${filename}.manifest
-.endfor
\ No newline at end of file
+.endfor
diff -r 7368220fb270 -r db473051efd6 mk/subst.mk
--- a/mk/subst.mk       Mon Oct 08 20:13:35 2018 +0000
+++ b/mk/subst.mk       Mon Oct 08 20:35:00 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: subst.mk,v 1.56 2018/01/02 21:18:48 rillig Exp $
+# $NetBSD: subst.mk,v 1.57 2018/10/08 20:35:00 rillig Exp $
 #
 # This Makefile fragment implements a general text replacement facility.
 # Package makefiles define a ``class'', for each of which a particular
@@ -82,7 +82,7 @@
 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}@,${${v}:S|\\|\\\\|gW:S|,|\\,|gW:S|&|\\\&|gW:Q},g
+SUBST_FILTER_CMD.${_class_}+=  -e s,@${v}@,${${v}:S|\\|\\\\|gW:S|,|\\,|gW:S|&|\\\&|gW:Q},g
 .  endfor
 .  if !empty(SUBST_SHOW_DIFF.${_class_}:Uno:M[Yy][Ee][Ss])
 _SUBST_KEEP.${_class_}?=       ${DIFF} -u "$$file" "$$tmpfile" || true



Home | Main Index | Thread Index | Old Index