summaryrefslogtreecommitdiff
path: root/misc/cstream/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-09-22 12:30:24 +0000
committerwiz <wiz@pkgsrc.org>2003-09-22 12:30:24 +0000
commit260bc1efe20b2eb682c9773248751bb9a8085785 (patch)
tree782e47b729305bcb25f9cdc4dc884af286cc3da4 /misc/cstream/Makefile
parent845e68d92b06c4708b392c9999262db2a38e3def (diff)
downloadpkgsrc-260bc1efe20b2eb682c9773248751bb9a8085785.tar.gz
Fix build on Solaris, based on PR 22889 by Jonathan Perkin.
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"