diff options
author | wiz <wiz> | 2003-09-19 18:06:34 +0000 |
---|---|---|
committer | wiz <wiz> | 2003-09-19 18:06:34 +0000 |
commit | 896418644eb6068e949a58f1ede8f303aa412e6d (patch) | |
tree | e22f31a9a409ffc9130c1d258502e67e75f22ba4 | |
parent | 5bdfa792afcf8583bcb88b39f4054bce1117b769 (diff) | |
download | pkgsrc-896418644eb6068e949a58f1ede8f303aa412e6d.tar.gz |
Make compile on Solaris. From Jonathan Perkin in PR 22857.
-rw-r--r-- | benchmarks/httperf/Makefile | 8 | ||||
-rw-r--r-- | benchmarks/httperf/distinfo | 3 | ||||
-rw-r--r-- | benchmarks/httperf/patches/patch-aa | 17 |
3 files changed, 26 insertions, 2 deletions
diff --git a/benchmarks/httperf/Makefile b/benchmarks/httperf/Makefile index fdb3437800c..3a3a973c047 100644 --- a/benchmarks/httperf/Makefile +++ b/benchmarks/httperf/Makefile @@ -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 @@ LICENSE= no-commercial-use 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 --git a/benchmarks/httperf/distinfo b/benchmarks/httperf/distinfo index ea406fe5092..2d0da60ead3 100644 --- a/benchmarks/httperf/distinfo +++ b/benchmarks/httperf/distinfo @@ -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 --git a/benchmarks/httperf/patches/patch-aa b/benchmarks/httperf/patches/patch-aa new file mode 100644 index 00000000000..c6dde82f3f6 --- /dev/null +++ b/benchmarks/httperf/patches/patch-aa @@ -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) + |