Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/zlib/pigz/bin/pigz kill the broken !HOSTPROG segment.
details: https://anonhg.NetBSD.org/src/rev/eb5a4fab7f61
branches: trunk
changeset: 755758:eb5a4fab7f61
user: mrg <mrg%NetBSD.org@localhost>
date: Sat Jun 19 07:33:58 2010 +0000
description:
kill the broken !HOSTPROG segment.
diffstat:
external/zlib/pigz/bin/pigz/Makefile | 23 ++---------------------
1 files changed, 2 insertions(+), 21 deletions(-)
diffs (38 lines):
diff -r 54ee0476b250 -r eb5a4fab7f61 external/zlib/pigz/bin/pigz/Makefile
--- a/external/zlib/pigz/bin/pigz/Makefile Sat Jun 19 06:47:09 2010 +0000
+++ b/external/zlib/pigz/bin/pigz/Makefile Sat Jun 19 07:33:58 2010 +0000
@@ -1,6 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2010/06/19 03:50:31 mrg Exp $
-
-.ifndef HOSTPROG
+# $NetBSD: Makefile,v 1.5 2010/06/19 07:33:58 mrg Exp $
.include <bsd.own.mk>
@@ -42,25 +40,8 @@
DIST= ${NETBSDSRCDIR}/external/zlib/pigz/dist
.PATH: ${DIST}
+
.if ${MKPIGZGZIP} != "no"
GZIPDIST= ${NETBSDSRCDIR}/usr.bin/gzip
.PATH: ${GZIPDIST}
.endif
-
-.else # HOSTPROG
-
-SRCS= pigz.c
-
-HOST_LDFLAGS= -lz
-
-#HAVE_PTHREAD_H!= if echo '#include <pthread.h>' | ${HOST_CC} -E - > /dev/null; then echo yes; else echo no; fi
-HAVE_PTHREAD_H?= yes
-
-.if ${HAVE_PTHREAD_H} != "no"
-SRCS+= yarn.c
-HOST_LDFLAGS+= -lpthread
-.else
-HOST_CPPFLAGS+= -DNOTHREAD
-.endif
-
-.endif # HOSTPROG
Home |
Main Index |
Thread Index |
Old Index