Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin if MKPIGZ != no, build gzip, otherwise build pigz.



details:   https://anonhg.NetBSD.org/src/rev/5a0cbd79ce5f
branches:  trunk
changeset: 755709:5a0cbd79ce5f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Thu Jun 17 06:29:16 2010 +0000

description:
if MKPIGZ != no, build gzip, otherwise build pigz.

diffstat:

 usr.bin/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r f163d9a81c8b -r 5a0cbd79ce5f usr.bin/Makefile
--- a/usr.bin/Makefile  Thu Jun 17 06:17:02 2010 +0000
+++ b/usr.bin/Makefile  Thu Jun 17 06:29:16 2010 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.186 2010/05/07 17:35:31 christos Exp $
+#      $NetBSD: Makefile,v 1.187 2010/06/17 06:29:16 mrg Exp $
 #      from: @(#)Makefile      8.3 (Berkeley) 1/7/94
 
 .include <bsd.own.mk>
@@ -12,7 +12,7 @@
        eject elf2aout elf2ecoff env error expand extattr \
        false fdformat fgen find finger fmt fold fpr from \
        fsplit fstat ftp gcore genassym gencat getconf getent getopt gprof \
-       gzip head hexdump iconv id indent infocmp innetgr ipcrm ipcs join jot \
+       head hexdump iconv id indent infocmp innetgr ipcrm ipcs join jot \
        kdump ktrace ktruss lam last lastcomm ldd leave less \
        locale locate lock logger login logname look lorder m4 \
        machine mail make man menuc mesg midiplay mixerctl mkcsmapper \
@@ -30,6 +30,12 @@
        wall wc what whatis whereis who whois window \
        write xargs xinstall xlint xstr yes
 
+.if (${MKPIGZ} != "no")
+SUBDIR+= ../external/zlib/pigz/bin/pigz
+.else
+SUBDIR+= gzip 
+.endif
+
 .if (${MKHESIOD} != "no")
 SUBDIR+= hesinfo
 .endif



Home | Main Index | Thread Index | Old Index