aboutsummaryrefslogtreecommitdiff
path: root/dns/unbound
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2008-08-18 15:10:42 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2008-08-18 15:10:42 +0000
commit587665b63fa4eeefd7bc19af763132055ee43e59 (patch)
tree03b7cc408848f6f54c8747294e01198791e231c0 /dns/unbound
parenta74cad6a452fcbafa3baec245dec88d450937dbb (diff)
downloadports-587665b63fa4eeefd7bc19af763132055ee43e59.tar.gz
ports-587665b63fa4eeefd7bc19af763132055ee43e59.zip
Notes
Diffstat (limited to 'dns/unbound')
-rw-r--r--dns/unbound/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index a9a3adc60599..50964822a8ff 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -7,6 +7,7 @@
PORTNAME= unbound
PORTVERSION= 1.0.2
+PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/
@@ -33,7 +34,8 @@ PKGINSTALL= ${WRKDIR}/pkg-install
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
SUB_FILES= pkg-install pkg-deinstall
-OPTIONS= LIBEVENT "is useful when using many (10000) outgoing ports" off
+OPTIONS= LIBEVENT "is useful when using many (10000) outgoing ports" off \
+ THREADS "build with threads support" on
.include <bsd.port.pre.mk>
@@ -44,6 +46,10 @@ CONFIGURE_ARGS+= --with-libevent=${LOCALBASE}
CONFIGURE_ARGS+= --with-libevent=no
.endif
+.if !defined(WITH_THREADS)
+CONFIGURE_ARGS+= --without-pthreads
+.endif
+
post-patch:
@${MKDIR} ${WRKSRC}/balancer
@${RM} ${WRKSRC}/util/configlexer.c