Module Name: src
Committed By: lukem
Date: Tue Nov 9 00:11:37 UTC 2010
Modified Files:
src/external/zlib/pigz/bin/pigz: Makefile
Log Message:
Don't set DPADD for HOSTPROGs
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/zlib/pigz/bin/pigz/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/zlib/pigz/bin/pigz/Makefile
diff -u src/external/zlib/pigz/bin/pigz/Makefile:1.5 src/external/zlib/pigz/bin/pigz/Makefile:1.6
--- src/external/zlib/pigz/bin/pigz/Makefile:1.5 Sat Jun 19 07:33:58 2010
+++ src/external/zlib/pigz/bin/pigz/Makefile Tue Nov 9 00:11:37 2010
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2010/06/19 07:33:58 mrg Exp $
+# $NetBSD: Makefile,v 1.6 2010/11/09 00:11:37 lukem Exp $
.include <bsd.own.mk>
@@ -10,7 +10,9 @@
SRCS= pigz.c yarn.c
MAN= pigz.1
+.if !defined(HOSTPROG)
DPADD= ${LIBM} ${LIBPTHREAD}
+.endif
LDADD= -lz -lpthread
.if ${MKPIGZGZIP} != "no"