pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/bing Fix build on Solaris. From Jonathan Perkin in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/865e03a9d2e6
branches:  trunk
changeset: 461847:865e03a9d2e6
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Sep 22 16:25:16 2003 +0000

description:
Fix build on Solaris. From Jonathan Perkin in PR 22893.

diffstat:

 net/bing/Makefile         |   8 +++++++-
 net/bing/distinfo         |   4 ++--
 net/bing/patches/patch-aa |  15 ++++++++++++---
 3 files changed, 21 insertions(+), 6 deletions(-)

diffs (64 lines):

diff -r 1bb528c7a2c1 -r 865e03a9d2e6 net/bing/Makefile
--- a/net/bing/Makefile Mon Sep 22 16:24:27 2003 +0000
+++ b/net/bing/Makefile Mon Sep 22 16:25:16 2003 +0000
@@ -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 @@
 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 -r 1bb528c7a2c1 -r 865e03a9d2e6 net/bing/distinfo
--- a/net/bing/distinfo Mon Sep 22 16:24:27 2003 +0000
+++ b/net/bing/distinfo Mon Sep 22 16:25:16 2003 +0000
@@ -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 -r 1bb528c7a2c1 -r 865e03a9d2e6 net/bing/patches/patch-aa
--- a/net/bing/patches/patch-aa Mon Sep 22 16:24:27 2003 +0000
+++ b/net/bing/patches/patch-aa Mon Sep 22 16:25:16 2003 +0000
@@ -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 @@
  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
  



Home | Main Index | Thread Index | Old Index