gzip is a link to pigz, for some reason hard-link:
# ls -i /usr/bin/gzip
374346 /usr/bin/gzip
# ls -i /usr/bin/pigz
374346 /usr/bin/pigz
The magic is done in external/zlib/pigz/bin/pigz/Makefile
In the patch I'm adding a new keyword pigzgzip and I use it to blacklist
gzip.debug. It's tested to work with recent -current.
Please review and apply.
With these changes (p++ and pigzgzip) I can build cleanly my NetBSD
sources with my personalized setup.
Index: distrib/sets/sets.subr
===================================================================
RCS file: /public/netbsd-rsync/src/distrib/sets/sets.subr,v
retrieving revision 1.164
diff -u -r1.164 sets.subr
--- distrib/sets/sets.subr 28 May 2015 14:36:44 -0000 1.164
+++ distrib/sets/sets.subr 4 Jun 2015 00:30:58 -0000
@@ -249,6 +249,7 @@
# pf ${MKPF} != no
# pic ${MKPIC} != no
# picinstall ${MKPICINSTALL} != no
+# pigzgzip ${MKPIGZGZIP} != no
# postfix ${MKPOSTFIX} != no
# profile ${MKPROFILE} != no
# perfuse ${MKPERFUSE} != no
Index: distrib/sets/lists/debug/mi
===================================================================
RCS file: /public/netbsd-rsync/src/distrib/sets/lists/debug/mi,v
retrieving revision 1.116
diff -u -r1.116 mi
--- distrib/sets/lists/debug/mi 29 May 2015 12:38:18 -0000 1.116
+++ distrib/sets/lists/debug/mi 4 Jun 2015 00:37:21 -0000
@@ -543,7 +543,7 @@
./usr/libdata/debug/usr/bin/grotty.debug comp-groff-debug
groff,debug
./usr/libdata/debug/usr/bin/gss.debug comp-krb5-debug
kerberos,debug,obsolete
./usr/libdata/debug/usr/bin/gsstool.debug comp-krb5-debug
kerberos,debug
-./usr/libdata/debug/usr/bin/gzip.debug comp-util-debug
debug
+./usr/libdata/debug/usr/bin/gzip.debug comp-util-debug
!pigzgzip,debug
./usr/libdata/debug/usr/bin/head.debug comp-util-debug
debug
./usr/libdata/debug/usr/bin/hesinfo.debug comp-hesiod-debug
hesiod,debug
./usr/libdata/debug/usr/bin/hexdump.debug comp-util-debug
debug