summaryrefslogtreecommitdiff
path: root/archivers/pigz/patches/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/pigz/patches/patch-Makefile')
-rw-r--r--archivers/pigz/patches/patch-Makefile16
1 files changed, 9 insertions, 7 deletions
diff --git a/archivers/pigz/patches/patch-Makefile b/archivers/pigz/patches/patch-Makefile
index ce8089255e8..3c84fa71614 100644
--- a/archivers/pigz/patches/patch-Makefile
+++ b/archivers/pigz/patches/patch-Makefile
@@ -1,14 +1,16 @@
-$NetBSD: patch-Makefile,v 1.4 2016/09/19 09:17:57 fhajny Exp $
+$NetBSD: patch-Makefile,v 1.5 2016/10/02 09:06:11 fhajny Exp $
-Do not overwrite LDFLAGS.
+Do not mess with the build ENV.
---- Makefile.orig 2015-01-20 04:12:31.000000000 +0000
+--- Makefile.orig 2016-05-30 05:09:41.000000000 +0000
+++ Makefile
-@@ -1,6 +1,6 @@
+@@ -1,7 +1,6 @@
CC=cc
- CFLAGS=-O3 -Wall -Wextra
--LDFLAGS=-lz
-+LDFLAGS+=-lz
+-CFLAGS=-O3 -Wall -Wextra
+-LDFLAGS=
+-LIBS=-lm -lpthread -lz
++CFLAGS+=-O3 -Wall -Wextra
++LIBS+=-lm -lpthread -lz
ZOPFLI=zopfli/src/zopfli/
# use gcc and gmake on Solaris