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-Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/archivers/pigz/patches/patch-Makefile b/archivers/pigz/patches/patch-Makefile
index e9c1fbe5773..ef314f14050 100644
--- a/archivers/pigz/patches/patch-Makefile
+++ b/archivers/pigz/patches/patch-Makefile
@@ -1,16 +1,17 @@
-$NetBSD: patch-Makefile,v 1.1 2011/11/29 06:06:23 sbd Exp $
+$NetBSD: patch-Makefile,v 1.2 2012/08/05 00:47:45 wen Exp $
Honor CFLAGS and LDFLAGS from pkgsrc.
---- Makefile.orig 2010-01-17 21:16:18.000000000 +0000
+--- Makefile.orig 2012-02-12 05:18:18.000000000 +0000
+++ Makefile
-@@ -1,7 +1,7 @@
--CFLAGS=-O3
-+CFLAGS?=-O3
+@@ -1,8 +1,8 @@
+ CC=cc
+-CFLAGS=-O3 -Wall -Wextra
++CFLAGS?=-O3 -Wall -Wextra
pigz: pigz.o yarn.o
-- cc -o pigz pigz.o yarn.o -lpthread -lz
-+ cc ${LDFLAGS} -o pigz pigz.o yarn.o -lpthread -lz
+- $(CC) -o pigz pigz.o yarn.o -lpthread -lz
++ $(CC) ${LDFLAGS} -o pigz pigz.o yarn.o -lpthread -lz
ln -f pigz unpigz
pigz.o: pigz.c yarn.h