aboutsummaryrefslogtreecommitdiffstats
path: root/www/thttpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/thttpd/Makefile')
-rw-r--r--www/thttpd/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/www/thttpd/Makefile b/www/thttpd/Makefile
index f844358c6918..3aaa6dca43e8 100644
--- a/www/thttpd/Makefile
+++ b/www/thttpd/Makefile
@@ -6,19 +6,26 @@
#
PORTNAME= thttpd
-PORTVERSION= 2.20b
+PORTVERSION= 2.21b
CATEGORIES= www ipv6
MASTER_SITES= http://www.acme.com/software/thttpd/ \
http://www.freenix.no/~anders/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} notes.html
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= anders@fix.no
IGNOREFILES= notes.html
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
GNU_CONFIGURE= yes
+.include <bsd.port.pre.mk>
+
+# Kqueue doesn't work in -current with thttpd.
+.if ${OSVERSION} >= 500000
+CFLAGS+= -DHAVE_FREEBSD_CURRENT
+.endif
+
MAN1= makeweb.1 htpasswd.1
MAN8= thttpd.8 redirect.8 ssi.8 syslogtocern.8
@@ -80,4 +87,4 @@ config-message:
@${ECHO} ""
@${ECHO} "====================================================================="
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>