summaryrefslogtreecommitdiff
path: root/benchmarks/ttcp
diff options
context:
space:
mode:
authoryyamano <yyamano>2003-01-06 13:32:32 +0000
committeryyamano <yyamano>2003-01-06 13:32:32 +0000
commite76d20155a4de499170a61094095581d23d7e3ff (patch)
treedf3f06f2b56bb775e7ba05c8e38c97bafe8cadfc /benchmarks/ttcp
parent9694a06f61ee552473330ba3df0eb5cf92b6bb12 (diff)
downloadpkgsrc-e76d20155a4de499170a61094095581d23d7e3ff.tar.gz
Make it build on Darwin again. Darwin have not in_addr_t.
Diffstat (limited to 'benchmarks/ttcp')
-rw-r--r--benchmarks/ttcp/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/benchmarks/ttcp/Makefile b/benchmarks/ttcp/Makefile
index efd8011a0c6..ffc0d36bc61 100644
--- a/benchmarks/ttcp/Makefile
+++ b/benchmarks/ttcp/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2001/04/19 13:01:59 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2003/01/06 13:32:32 yyamano Exp $
DISTNAME= ttcp
PKGNAME= ${DISTNAME}-1.12
@@ -15,6 +15,10 @@ COMMENT= TCP testing and performance measuring tool
MANCOMPRESSED_IF_MANZ= YES
WRKSRC= ${WRKDIR}
+.if (${OPSYS} == Darwin)
+MAKE_FLAGS= CFLAGS="-Din_addr_t=\"unsigned long\""
+.endif
+
.if (${OPSYS} == SunOS)
do-build:
cd ${WRKSRC} && \