Make it build on Darwin again. Darwin have not in_addr_t.

This commit is contained in:
yyamano 2003-01-06 13:32:32 +00:00
parent a70ee2ae71
commit b7536a7098

View file

@ -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} && \