summaryrefslogtreecommitdiff
path: root/chat/goofey
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-07-11 16:29:02 +0000
committergrant <grant@pkgsrc.org>2002-07-11 16:29:02 +0000
commita167462ada834b3d907641cb495a0db60cc1d675 (patch)
treed82095b1628b32bf02965230d733a1cd9a99deea /chat/goofey
parent270c11d4638223fc70c9793a527e692c297f30bb (diff)
downloadpkgsrc-a167462ada834b3d907641cb495a0db60cc1d675.tar.gz
add -lnsl -lsocket for SunOS
Diffstat (limited to 'chat/goofey')
-rw-r--r--chat/goofey/Makefile8
1 files changed, 7 insertions, 1 deletions
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