Subject: Re: Building pkgsrc ttcp on Mac OS X
To: Yuji Yamano <yyamano@kt.rim.or.jp>
From: Randy Beaudreault <maccult@pacbell.net>
List: tech-pkg
Date: 01/05/2003 10:17:18
>Could you try the following patch?
>
>Index: Makefile
>===================================================================
>RCS file: /cvsroot/pkgsrc/benchmarks/ttcp/Makefile,v
>retrieving revision 1.2
>diff -u -u -r1.2 Makefile
>--- Makefile 2001/04/19 13:01:59 1.2
>+++ Makefile 2003/01/05 12:43:03
>@@ -15,6 +15,10 @@
> 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} && \
>
>--
>Yuji Yamano <yyamano@kt.rim.or.jp>
> Exterminate the sage, discard the wise,
> and the people will benefit a hundredfold. --Lao Tzu
Thanks Yuji this works. Go ahead and commit it.
--
Randy
OS X - UNIX for the rest of us
NetBSD - Catch the Power!