pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/sile sile: fix unportable test(1) operator



details:   https://anonhg.NetBSD.org/pkgsrc/rev/01fce172ecc3
branches:  trunk
changeset: 382430:01fce172ecc3
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Jul 27 19:41:57 2022 +0000

description:
sile: fix unportable test(1) operator

diffstat:

 print/sile/distinfo                  |   3 ++-
 print/sile/patches/patch-Makefile.in |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r e192ebb66451 -r 01fce172ecc3 print/sile/distinfo
--- a/print/sile/distinfo       Wed Jul 27 19:14:41 2022 +0000
+++ b/print/sile/distinfo       Wed Jul 27 19:41:57 2022 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2022/02/18 13:45:23 joerg Exp $
+$NetBSD: distinfo,v 1.7 2022/07/27 19:41:57 wiz Exp $
 
 BLAKE2s (sile-0.12.2.tar.xz) = cd23cd9d8a694d424cb3ef224dba91ba955bad4d044d25272eef42dd3e2b9c61
 SHA512 (sile-0.12.2.tar.xz) = d2e37e4a1d7f5bbb344ef2783d1b7b70591de33f1b0bd4919490b96acf5e44e9bef2c1024afcdefac0cf0806f86f6211d4a21c046b8f99de2fd11f4598c372fd
 Size (sile-0.12.2.tar.xz) = 2722568 bytes
+SHA1 (patch-Makefile.in) = 1240ef771e529e7e461f5fb53800130fdc516d44
diff -r e192ebb66451 -r 01fce172ecc3 print/sile/patches/patch-Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/sile/patches/patch-Makefile.in      Wed Jul 27 19:41:57 2022 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-Makefile.in,v 1.1 2022/07/27 19:41:57 wiz Exp $
+
+Fix unportable test(1) operator.
+
+--- Makefile.in.orig   2022-01-28 13:04:21.645056627 +0000
++++ Makefile.in
+@@ -1418,7 +1418,7 @@ define runsile =
+       export -n SILE_COVERAGE
+       if $(hastoc); then
+               $${hadtoc} || $(silepass)
+-              [ "$${pg}" == "$${pg0}" ] || $(silepass)
++              [ "$${pg}" = "$${pg0}" ] || $(silepass)
+       fi
+ endef
+ $(_BUILT_SUBDIRS): $(_SUBDIR_TELLS)



Home | Main Index | Thread Index | Old Index