diff options
author | wiz <wiz@pkgsrc.org> | 2003-09-22 16:25:16 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2003-09-22 16:25:16 +0000 |
commit | 9e8390f17e87831d64f7077ce73f05772749f168 (patch) | |
tree | c40a3f904dd8308ff149a0a7d0613caba0c0fb25 /net | |
parent | 46570f221ac0d7a937e7e5e76cc3b36ad5b2d00b (diff) | |
download | pkgsrc-9e8390f17e87831d64f7077ce73f05772749f168.tar.gz |
Fix build on Solaris. From Jonathan Perkin in PR 22893.
Diffstat (limited to 'net')
-rw-r--r-- | net/bing/Makefile | 8 | ||||
-rw-r--r-- | net/bing/distinfo | 4 | ||||
-rw-r--r-- | net/bing/patches/patch-aa | 15 |
3 files changed, 21 insertions, 6 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 diff --git a/net/bing/distinfo b/net/bing/distinfo index d4901e8ff65..4d1e2ada08a 100644 --- a/net/bing/distinfo +++ b/net/bing/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2003/01/19 07:29:41 salo Exp $ +$NetBSD: distinfo,v 1.4 2003/09/22 16:25:17 wiz Exp $ SHA1 (bing-1.0.4.tar.gz) = 21954516f4b72895ad7be96d320581510a186b33 Size (bing-1.0.4.tar.gz) = 27069 bytes -SHA1 (patch-aa) = ca7016c67815b3d4e2a524ba88fefd25a482c941 +SHA1 (patch-aa) = e5dc4b78498674beacaecaf63f9799a4260c8187 SHA1 (patch-ab) = ef75a8cd00011b09cef6668228e7e34899984c4b diff --git a/net/bing/patches/patch-aa b/net/bing/patches/patch-aa index 1c3d0150785..25f1d131380 100644 --- a/net/bing/patches/patch-aa +++ b/net/bing/patches/patch-aa @@ -1,7 +1,7 @@ -$NetBSD: patch-aa,v 1.5 2003/01/19 07:29:41 salo Exp $ +$NetBSD: patch-aa,v 1.6 2003/09/22 16:25:17 wiz Exp $ ---- Makefile.orig Thu Jul 20 20:03:30 1995 -+++ Makefile Sun Aug 9 16:44:41 1998 +--- Makefile.orig 1995-07-21 01:03:30.000000000 +0100 ++++ Makefile 2003-09-22 16:14:32.878633434 +0100 @@ -1,9 +1,8 @@ # # Makefile,v 1.4 1995/07/21 00:03:30 pb Exp @@ -14,6 +14,15 @@ $NetBSD: patch-aa,v 1.5 2003/01/19 07:29:41 salo Exp $ GROFF=groff NROFF=nroff RM=/bin/rm +@@ -16,7 +15,7 @@ + dist: clean bing.0 bing.ps + + bing: bing.c sysdep.h +- $(CC) $(CFLAGS) $(CLIBS) -o $@ bing.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ bing.c + + bing.ps: bing.8 + $(GROFF) -mandoc bing.8 > bing.ps @@ -28,5 +27,5 @@ $(RM) -f bing bing.ps bing.0 |