diff options
author | wiz <wiz@pkgsrc.org> | 2003-09-22 12:30:24 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-09-22 12:30:24 +0000 |
commit | 260bc1efe20b2eb682c9773248751bb9a8085785 (patch) | |
tree | 782e47b729305bcb25f9cdc4dc884af286cc3da4 /misc/cstream/Makefile | |
parent | 845e68d92b06c4708b392c9999262db2a38e3def (diff) | |
download | pkgsrc-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/Makefile | 8 |
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" |