From 32d456fa68849e8a97456b6e9c1e2180cf7c664a Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 13 Jan 2001 12:37:25 +0000 Subject: Make this package work under Solaris. --- net/ttcp/Makefile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'net') diff --git a/net/ttcp/Makefile b/net/ttcp/Makefile index e7160ad1262..53851ef81ce 100644 --- a/net/ttcp/Makefile +++ b/net/ttcp/Makefile @@ -1,5 +1,4 @@ -# $NetBSD: Makefile,v 1.14 1999/08/19 07:28:44 tron Exp $ -# +# $NetBSD: Makefile,v 1.15 2001/01/13 12:37:25 tron Exp $ DISTNAME= ttcp PKGNAME= ${DISTNAME}-1.12 @@ -10,8 +9,16 @@ EXTRACT_SUFX= .tar.Z MAINTAINER= thorpej@netbsd.org HOMEPAGE= http://www.ccci.com/tools/ttcp/ -NO_CONFIGURE= yes -NO_WRKSUBDIR= yes -MANCOMPRESSED_IF_MANZ= yes +.include "../../mk/bsd.prefs.mk" + +MANCOMPRESSED_IF_MANZ= YES +WRKSRC= ${WRKDIR} + +do-build: +.if (${OPSYS} == SunOS) + cd ${WRKSRC} && \ + ${CC} ttcp.c ${CFLAGS} $(LDFLAGS) -lsocket -lnsl -o ttcp && \ + nroff -man ttcp.1 >ttcp.cat1 +.endif .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3