aboutsummaryrefslogtreecommitdiff
path: root/www/twhttpd
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-30 18:42:01 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2004-09-30 18:42:01 +0000
commit9f95d51df8302792ea9e78f3ed9322ca480d3267 (patch)
tree48aaa2b005a14683f92e2f07fc4fd981d0f1bcb5 /www/twhttpd
parent493ec5f9a1e09b939dbfe30e5bd524ea1b235030 (diff)
downloadports-9f95d51df8302792ea9e78f3ed9322ca480d3267.tar.gz
ports-9f95d51df8302792ea9e78f3ed9322ca480d3267.zip
Notes
Diffstat (limited to 'www/twhttpd')
-rw-r--r--www/twhttpd/Makefile9
-rw-r--r--www/twhttpd/files/patch-ac9
2 files changed, 11 insertions, 7 deletions
diff --git a/www/twhttpd/Makefile b/www/twhttpd/Makefile
index a5e73fff10e1..9ca097182a0c 100644
--- a/www/twhttpd/Makefile
+++ b/www/twhttpd/Makefile
@@ -19,12 +19,6 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_AUTOCONF_VER= 213
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502126
-BROKEN= "Does not compile on FreeBSD >= 5.x"
-.endif
-
do-install:
@${INSTALL_PROGRAM} -o root -g wheel -m 0755 ${WRKSRC}/twhttpd ${PREFIX}/sbin/twhttpd
@${INSTALL} -o root -g wheel -m 0755 ${WRKSRC}/rm_cache ${PREFIX}/sbin/rm_cache
@@ -32,4 +26,5 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+
+.include <bsd.port.mk>
diff --git a/www/twhttpd/files/patch-ac b/www/twhttpd/files/patch-ac
index a663815b5f49..c138d0cf6444 100644
--- a/www/twhttpd/files/patch-ac
+++ b/www/twhttpd/files/patch-ac
@@ -9,3 +9,12 @@
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
+@@ -3882,7 +3882,7 @@
+ lz_flush(hd->fd, &hd->fd_lzb);
+ }
+ syslog(LOG_ERR, "Exiting Testing Server\n");
+- exit;
++ exit(0);
+ }
+
+ //////////////////////////////////////////////////////////////////////