aboutsummaryrefslogtreecommitdiff
path: root/dns
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2008-07-11 19:07:17 +0000
committerDoug Barton <dougb@FreeBSD.org>2008-07-11 19:07:17 +0000
commite849102db77a0589ed39646e17b5e7a691d8bc05 (patch)
tree43ac89ff7dab4697699092252d8a42f04e3d9630 /dns
parent35eb96538b1b9c0e7ab6f53753ccb012824a9c8a (diff)
downloadports-e849102db77a0589ed39646e17b5e7a691d8bc05.tar.gz
ports-e849102db77a0589ed39646e17b5e7a691d8bc05.zip
Bump PORTREVISION for the patch to named-checkconf
Add the logic for the THREADS OPTION to be on for 7-RELEASE and above (and off otherwise) that I'm using in dns/bind95
Notes
Notes: svn path=/head/; revision=216718
Diffstat (limited to 'dns')
-rw-r--r--dns/bind94/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/dns/bind94/Makefile b/dns/bind94/Makefile
index 0f1836701ba7..a3eacba25b7c 100644
--- a/dns/bind94/Makefile
+++ b/dns/bind94/Makefile
@@ -13,6 +13,7 @@
PORTNAME= bind94
PORTVERSION= 9.4.2.1
+PORTREVISION= 1
CATEGORIES= dns net ipv6
MASTER_SITES= ${MASTER_SITE_ISC} \
http://dougbarton.us/Downloads/%SUBDIR%/
@@ -37,11 +38,17 @@ CONFLICTS= bind9-9.[35].* bind9-dlz-* bind9-sdb-ldap-* host-*
OPTIONS= REPLACE_BASE "Replace base BIND with this version" off \
LARGE_FILE "64-bit file support" off \
- IPV6 "IPv6 Support (autodetected by default)" off \
- THREADS "Compile with thread support" on
+ IPV6 "IPv6 Support (autodetected by default)" off
.include <bsd.port.pre.mk>
+# We are ok by default from 7.0-RELEASE on
+.if ${OSVERSION} >= 700055
+OPTIONS+= THREADS "Compile with thread support" on
+.else
+OPTIONS+= THREADS "Compile w/threads (Not Recommended <FreeBSD-7)" off
+.endif
+
.if defined(WITH_OPENSSL_PORT)
CONFIGURE_ARGS+= --with-openssl=${LOCALBASE}
.else