summaryrefslogtreecommitdiff
path: root/archivers/pigz
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-09-19 09:17:57 +0000
committerfhajny <fhajny@pkgsrc.org>2016-09-19 09:17:57 +0000
commit272c0e280713e3a8642302b5e9e5318767d9f932 (patch)
tree69b2ea344f0416b0e0f50a19a46ed247f8e424f9 /archivers/pigz
parentda61949f1340ca8363ef42646801c6a76fc82f12 (diff)
downloadpkgsrc-272c0e280713e3a8642302b5e9e5318767d9f932.tar.gz
Do not overwrite LDFLAGS, fixes build on at least SunOS.
Diffstat (limited to 'archivers/pigz')
-rw-r--r--archivers/pigz/distinfo3
-rw-r--r--archivers/pigz/patches/patch-Makefile14
2 files changed, 16 insertions, 1 deletions
diff --git a/archivers/pigz/distinfo b/archivers/pigz/distinfo
index bb962857446..67bb78c748d 100644
--- a/archivers/pigz/distinfo
+++ b/archivers/pigz/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.8 2015/11/03 00:56:25 agc Exp $
+$NetBSD: distinfo,v 1.9 2016/09/19 09:17:57 fhajny Exp $
SHA1 (pigz-2.3.3.tar.gz) = 11252d38fe2a7b8d7a712dff22bbb7630287d00b
RMD160 (pigz-2.3.3.tar.gz) = 053a9f2309982ba21a7041288ace4408ffbcbe5e
SHA512 (pigz-2.3.3.tar.gz) = 6fa5ee1c03b4a8dc4b191acaa337b6f30132503ff413300214e1e6b27dd70590b53334be3fa880916f6ea4498beb8cf7c411a5954fdf188475882c44618c663c
Size (pigz-2.3.3.tar.gz) = 92787 bytes
+SHA1 (patch-Makefile) = bb2a30acfa656852cd36361a0ac80a3322c920c0
diff --git a/archivers/pigz/patches/patch-Makefile b/archivers/pigz/patches/patch-Makefile
new file mode 100644
index 00000000000..ce8089255e8
--- /dev/null
+++ b/archivers/pigz/patches/patch-Makefile
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile,v 1.4 2016/09/19 09:17:57 fhajny Exp $
+
+Do not overwrite LDFLAGS.
+
+--- Makefile.orig 2015-01-20 04:12:31.000000000 +0000
++++ Makefile
+@@ -1,6 +1,6 @@
+ CC=cc
+ CFLAGS=-O3 -Wall -Wextra
+-LDFLAGS=-lz
++LDFLAGS+=-lz
+ ZOPFLI=zopfli/src/zopfli/
+ # use gcc and gmake on Solaris
+