summaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authoryyamano <yyamano@pkgsrc.org>2003-01-06 13:32:32 +0000
committeryyamano <yyamano@pkgsrc.org>2003-01-06 13:32:32 +0000
commitb7536a7098eb46d61cc4b54caf1a3e39770fb909 (patch)
treedf3f06f2b56bb775e7ba05c8e38c97bafe8cadfc /benchmarks
parenta70ee2ae714090559ecebf55a365f19a2c352371 (diff)
downloadpkgsrc-b7536a7098eb46d61cc4b54caf1a3e39770fb909.tar.gz
Make it build on Darwin again. Darwin have not in_addr_t.
Diffstat (limited to 'benchmarks')
-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} && \