summaryrefslogtreecommitdiff
path: root/archivers/libmspack
diff options
context:
space:
mode:
authorsborrill <sborrill@pkgsrc.org>2018-10-12 13:21:24 +0000
committersborrill <sborrill@pkgsrc.org>2018-10-12 13:21:24 +0000
commit7f0d9cb69f187865031665695012828917e90390 (patch)
treeaf80b35b7cffc1b18c44447d8a78e099987c5a71 /archivers/libmspack
parentbac68bf93cc83e219d69c483eb6895e1228961f6 (diff)
downloadpkgsrc-7f0d9cb69f187865031665695012828917e90390.tar.gz
Build fix as parts of tests would fail due to waiting on stdin.
Thanks to joerg@
Diffstat (limited to 'archivers/libmspack')
-rw-r--r--archivers/libmspack/Makefile4
-rw-r--r--archivers/libmspack/distinfo4
-rw-r--r--archivers/libmspack/patches/patch-Makefile.am10
-rw-r--r--archivers/libmspack/patches/patch-Makefile.in13
4 files changed, 29 insertions, 2 deletions
diff --git a/archivers/libmspack/Makefile b/archivers/libmspack/Makefile
index f3ff57594ba..de019524924 100644
--- a/archivers/libmspack/Makefile
+++ b/archivers/libmspack/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2018/08/10 11:33:53 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2018/10/12 13:21:24 sborrill Exp $
DISTNAME= libmspack-0.7.1alpha
CATEGORIES= devel
@@ -9,6 +9,8 @@ HOMEPAGE= https://www.cabextract.org.uk/libmspack/
COMMENT= Archiver for Microsoft format CAB, CHM, WIM, LIT, HLP, KWAJ and SZDD
LICENSE= gnu-lgpl-v2.1
+MAKE_JOBS_SAFE= no
+
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
diff --git a/archivers/libmspack/distinfo b/archivers/libmspack/distinfo
index b2e772c117c..eff99058208 100644
--- a/archivers/libmspack/distinfo
+++ b/archivers/libmspack/distinfo
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.4 2018/08/10 11:33:53 wiz Exp $
+$NetBSD: distinfo,v 1.5 2018/10/12 13:21:24 sborrill Exp $
SHA1 (libmspack-0.7.1alpha.tar.gz) = 073348180586d7b0f61fd7f971162ffb5c1f6621
RMD160 (libmspack-0.7.1alpha.tar.gz) = 4facf2e853fa1942df3d71b342aaf83c06209b40
SHA512 (libmspack-0.7.1alpha.tar.gz) = e903629a34c29099a261a108e4eb9cda485ab999bbc3383e3cd6a39715077d00b26a1c641b0f3df0eef60d2e15a7ef623379df0cfe25b99d4eda080529ffec7b
Size (libmspack-0.7.1alpha.tar.gz) = 486840 bytes
+SHA1 (patch-Makefile.am) = dff0e712bb577baa8587ee562e5d27c3831965cd
+SHA1 (patch-Makefile.in) = 761be4fd75d8e4496f1fe5d30e87d10f1a4e2913
diff --git a/archivers/libmspack/patches/patch-Makefile.am b/archivers/libmspack/patches/patch-Makefile.am
new file mode 100644
index 00000000000..0fc95744bba
--- /dev/null
+++ b/archivers/libmspack/patches/patch-Makefile.am
@@ -0,0 +1,10 @@
+$NetBSD: patch-Makefile.am,v 1.1 2018/10/12 13:21:24 sborrill Exp $
+
+--- Makefile.am.orig 2018-10-12 10:09:21.237413686 +0000
++++ Makefile.am
+@@ -96,4 +96,4 @@ test_kwajd_test_SOURCES = test/kwajd_tes
+ test_kwajd_test_LDADD = libmspack.la
+
+ test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm: test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm.LZXC-is-lzxc
+- sed s/lzxc/LZXC/ $< >$@
++ sed s/lzxc/LZXC/ < test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm.LZXC-is-lzxc >$@
diff --git a/archivers/libmspack/patches/patch-Makefile.in b/archivers/libmspack/patches/patch-Makefile.in
new file mode 100644
index 00000000000..54991ee185e
--- /dev/null
+++ b/archivers/libmspack/patches/patch-Makefile.in
@@ -0,0 +1,13 @@
+$NetBSD: patch-Makefile.in,v 1.1 2018/10/12 13:21:24 sborrill Exp $
+
+--- Makefile.in.orig 2018-10-12 10:09:23.559446305 +0000
++++ Makefile.in
+@@ -1355,7 +1355,7 @@ dist-hook:
+ -rm -f $(distdir)/*.la
+
+ test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm: test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm.LZXC-is-lzxc
+- sed s/lzxc/LZXC/ $< >$@
++ sed s/lzxc/LZXC/ < test/test_files/chmd/cve-2015-4467-reset-interval-zero.chm.LZXC-is-lzxc >$@
+
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.