From 1dd8c984fd8f0c335e20bb1dc10188514399f641 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 11 Jul 2002 16:29:02 +0000 Subject: add -lnsl -lsocket for SunOS --- chat/goofey/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chat/goofey') diff --git a/chat/goofey/Makefile b/chat/goofey/Makefile index a5f02a11874..bfb2220e29f 100644 --- a/chat/goofey/Makefile +++ b/chat/goofey/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/06/20 04:41:09 grant Exp $ +# $NetBSD: Makefile,v 1.2 2002/07/11 16:29:02 grant Exp $ # DISTNAME= goofey-3.15 @@ -12,6 +12,12 @@ COMMENT= text-based client for goofey, a flexible short message system NO_CONFIGURE= # defined +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "SunOS" +LDFLAGS+= -lnsl -lsocket +.endif + do-build: cd ${WRKSRC}; ${CC} ${CFLAGS} ${LDFLAGS} -o goofey goofey.c -- cgit v1.2.3