summaryrefslogtreecommitdiff
path: root/benchmarks/ttcp
diff options
context:
space:
mode:
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} && \