pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/benchmarks/httperf Make compile on Solaris. From Jonat...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4deaa35803e5
branches:  trunk
changeset: 461725:4deaa35803e5
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Fri Sep 19 18:06:34 2003 +0000

description:
Make compile on Solaris. From Jonathan Perkin in PR 22857.

diffstat:

 benchmarks/httperf/Makefile         |   8 +++++++-
 benchmarks/httperf/distinfo         |   3 ++-
 benchmarks/httperf/patches/patch-aa |  17 +++++++++++++++++
 3 files changed, 26 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r 2632b66244d1 -r 4deaa35803e5 benchmarks/httperf/Makefile
--- a/benchmarks/httperf/Makefile       Fri Sep 19 18:03:34 2003 +0000
+++ b/benchmarks/httperf/Makefile       Fri Sep 19 18:06:34 2003 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/07/17 21:24:28 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/09/19 18:06:34 wiz Exp $
 #
 
 DISTNAME=      httperf-0.6
@@ -13,6 +13,12 @@
 
 USE_GMAKE=     yes
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+LDFLAGS+=      -lsocket -lnsl -lresolv
+.endif
+
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/httperf ${LOCALBASE}/bin/httperf
        ${INSTALL_MAN} ${WRKSRC}/httperf.man ${LOCALBASE}/man/man1/httperf.1
diff -r 2632b66244d1 -r 4deaa35803e5 benchmarks/httperf/distinfo
--- a/benchmarks/httperf/distinfo       Fri Sep 19 18:03:34 2003 +0000
+++ b/benchmarks/httperf/distinfo       Fri Sep 19 18:06:34 2003 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/20 09:13:26 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/09/19 18:06:35 wiz Exp $
 
 SHA1 (httperf-0.6.tar.gz) = 6e0bcc21e2a94061b231c50182528a17ba22f14f
 Size (httperf-0.6.tar.gz) = 85351 bytes
+SHA1 (patch-aa) = eb5e6431c62f1ec631a0d6b598de0e4029dc97fc
diff -r 2632b66244d1 -r 4deaa35803e5 benchmarks/httperf/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/httperf/patches/patch-aa       Fri Sep 19 18:06:34 2003 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2003/09/19 18:06:36 wiz Exp $
+
+--- Makefile.orig      Tue Jun  2 04:06:52 1998
++++ Makefile   Fri Sep 19 15:34:28 2003
+@@ -38,9 +38,9 @@
+ CPPDEBUG := -DDEBUG $(CPPDEBUG)
+ CPPOPTIM := -DNDEBUG $(CPPOPTIM)
+ 
+-CPPFLAGS = -I. -Ilib $(CPP$(HOW))
+-CFLAGS = $(CONFIG) $(CFLAGS$(HOW))
+-LDFLAGS = $(LDFLAGS$(HOW))
++CPPFLAGS += -I. -Ilib $(CPP$(HOW))
++#CFLAGS = $(CONFIG) $(CFLAGS$(HOW))
++#LDFLAGS = $(LDFLAGS$(HOW))
+ 
+ HTTPERF = httperf object call conn sess core event http timer $(EXTRA)
+ 



Home | Main Index | Thread Index | Old Index