aboutsummaryrefslogtreecommitdiff
path: root/sysutils/hammerhead
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-11-11 14:44:05 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-11-11 14:44:05 +0000
commit15e25baec9626ccabdd22159440d7b0f3de32e17 (patch)
tree060269097b8498e2e204391ced1a3be40ce819dd /sysutils/hammerhead
parent4ded024af750da0438290814cb8961688dac23a9 (diff)
downloadports-15e25baec9626ccabdd22159440d7b0f3de32e17.tar.gz
ports-15e25baec9626ccabdd22159440d7b0f3de32e17.zip
Notes
Diffstat (limited to 'sysutils/hammerhead')
-rw-r--r--sysutils/hammerhead/Makefile11
-rw-r--r--sysutils/hammerhead/files/patch-src_connection.h11
2 files changed, 13 insertions, 9 deletions
diff --git a/sysutils/hammerhead/Makefile b/sysutils/hammerhead/Makefile
index 2ae82b2f4489..3333545b3aca 100644
--- a/sysutils/hammerhead/Makefile
+++ b/sysutils/hammerhead/Makefile
@@ -9,8 +9,7 @@ PORTNAME= hammerhead
PORTVERSION= 2.1.3
PORTREVISION= 1
CATEGORIES= sysutils
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR= ${PORTNAME}
+MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= A webserver stressing tool
@@ -18,16 +17,10 @@ COMMENT= A webserver stressing tool
GNU_CONFIGURE= yes
USE_GMAKE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= Broken with gcc 4.2
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' \
${WRKSRC}/src/Makefile
MAN1= hammerhead.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/hammerhead/files/patch-src_connection.h b/sysutils/hammerhead/files/patch-src_connection.h
new file mode 100644
index 000000000000..439849e23333
--- /dev/null
+++ b/sysutils/hammerhead/files/patch-src_connection.h
@@ -0,0 +1,11 @@
+--- src/connection.h.orig 2007-11-08 07:30:05.000000000 +0000
++++ src/connection.h 2007-11-08 07:30:21.000000000 +0000
+@@ -25,7 +25,7 @@
+ String *name;
+ Session *sess;
+
+- int Connection::fdConnect(void);
++ int fdConnect(void);
+
+ public:
+ virtual int connect(void) = 0;