summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-03-18 18:01:35 +0000
committerjoerg <joerg@pkgsrc.org>2020-03-18 18:01:35 +0000
commit47277d5ef1322db1dea16eb57544cbb11dcc360c (patch)
tree6419ed8e3bd485e7603147f9ae86f6ef3f95d7a0
parent323222fe86188426d63d06fb509b607c1d0901dd (diff)
downloadpkgsrc-47277d5ef1322db1dea16eb57544cbb11dcc360c.tar.gz
Fix shell portability
-rw-r--r--textproc/lowdown/distinfo3
-rw-r--r--textproc/lowdown/patches/patch-Makefile13
2 files changed, 15 insertions, 1 deletions
diff --git a/textproc/lowdown/distinfo b/textproc/lowdown/distinfo
index 61ae7879133..de29fc838cb 100644
--- a/textproc/lowdown/distinfo
+++ b/textproc/lowdown/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2020/03/07 22:17:01 fcambus Exp $
+$NetBSD: distinfo,v 1.6 2020/03/18 18:01:35 joerg Exp $
SHA1 (lowdown-0.6.1.tar.gz) = 9946bb8331913c9bdea40fad015b460b70fb42ce
RMD160 (lowdown-0.6.1.tar.gz) = 355f7443331f29e6acc656129c29e2b959772774
SHA512 (lowdown-0.6.1.tar.gz) = bbd431431850492406889d67ebe11ad5e2542293d4a30f8f0c7a2d0377291b35f484437a9d07474d1853d9839b22271026160c6be31bf78843488fb5cafc880e
Size (lowdown-0.6.1.tar.gz) = 122806 bytes
+SHA1 (patch-Makefile) = 6ca6ffd3f560c6cfa2821c0569b78737256fb727
diff --git a/textproc/lowdown/patches/patch-Makefile b/textproc/lowdown/patches/patch-Makefile
new file mode 100644
index 00000000000..761d21c8d20
--- /dev/null
+++ b/textproc/lowdown/patches/patch-Makefile
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile,v 1.1 2020/03/18 18:01:47 joerg Exp $
+
+--- Makefile.orig 2020-03-18 17:19:14.307880180 +0000
++++ Makefile
+@@ -101,7 +101,7 @@ install: all
+ distcheck: lowdown.tar.gz.sha512
+ mandoc -Tlint -Wwarning man/*.[135]
+ newest=`grep "<h1>" versions.xml | tail -n1 | sed 's![ ]*!!g'` ; \
+- [ "$$newest" == "<h1>$(VERSION)</h1>" ] || \
++ [ "$$newest" = "<h1>$(VERSION)</h1>" ] || \
+ { echo "Version $(VERSION) not newest in versions.xml" 1>&2 ; exit 1 ; }
+ rm -rf .distcheck
+ sha512 -C lowdown.tar.gz.sha512 lowdown.tar.gz