summaryrefslogtreecommitdiff
path: root/misc/cstream/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/cstream/Makefile')
-rw-r--r--misc/cstream/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/misc/cstream/Makefile b/misc/cstream/Makefile
index dab93b33b04..b1a3a8dbc1d 100644
--- a/misc/cstream/Makefile
+++ b/misc/cstream/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2003/07/17 21:48:51 grant Exp $
+# $NetBSD: Makefile,v 1.4 2003/09/22 12:30:24 wiz Exp $
DISTNAME= cstream-2.2
CATEGORIES= misc
@@ -10,4 +10,10 @@ COMMENT= General-purpose stream-handling tool with bandwidth limiting
GNU_CONFIGURE= yes
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LDFLAGS+= -lsocket -lnsl -lresolv
+.endif
+
.include "../../mk/bsd.pkg.mk"