diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2008-08-18 15:10:42 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2008-08-18 15:10:42 +0000 |
commit | 587665b63fa4eeefd7bc19af763132055ee43e59 (patch) | |
tree | 03b7cc408848f6f54c8747294e01198791e231c0 /dns | |
parent | a74cad6a452fcbafa3baec245dec88d450937dbb (diff) | |
download | ports-587665b63fa4eeefd7bc19af763132055ee43e59.tar.gz ports-587665b63fa4eeefd7bc19af763132055ee43e59.zip |
- Add an option to build without threads.
Requested by: Beastie <beastie24@gmail.com>
Notes
Notes:
svn path=/head/; revision=218771
Diffstat (limited to 'dns')
-rw-r--r-- | dns/unbound/Makefile | 8 |
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 |