summaryrefslogtreecommitdiff
path: root/net/bing/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2003-09-22 16:25:16 +0000
committerwiz <wiz>2003-09-22 16:25:16 +0000
commite0f92c6b9cab063f8bb6924df8519dc2bec8c651 (patch)
treec40a3f904dd8308ff149a0a7d0613caba0c0fb25 /net/bing/Makefile
parent59f26c4bd43ef52afa9eb784c7b8e16f61de4469 (diff)
downloadpkgsrc-e0f92c6b9cab063f8bb6924df8519dc2bec8c651.tar.gz
Fix build on Solaris. From Jonathan Perkin in PR 22893.
Diffstat (limited to 'net/bing/Makefile')
-rw-r--r--net/bing/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/net/bing/Makefile b/net/bing/Makefile
index 5413222b9fa..e160c9e54c5 100644
--- a/net/bing/Makefile
+++ b/net/bing/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2003/07/17 22:51:01 grant Exp $
+# $NetBSD: Makefile,v 1.16 2003/09/22 16:25:16 wiz Exp $
# FreeBSD Id: Makefile,v 1.2 1997/10/13 09:14:49 tg Exp
#
@@ -10,6 +10,12 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.cnam.fr/reseau/bing.html
COMMENT= Bing is a point-to-point bandwith measurement tool
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LDFLAGS+= -lsocket -lnsl
+.endif
+
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bing
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/bing