diff options
author | dougb <dougb@FreeBSD.org> | 2008-07-12 03:07:17 +0800 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2008-07-12 03:07:17 +0800 |
commit | f6344267cd3b0e4553f966feaae84f6e2564b152 (patch) | |
tree | 9fffad81cc47150d07b3ae909c4ee584476a50ce /dns/bind94 | |
parent | 6c3e853c1e725d314beacb025a6d40ab9ad50c1a (diff) | |
download | freebsd-ports-gnome-f6344267cd3b0e4553f966feaae84f6e2564b152.tar.gz freebsd-ports-gnome-f6344267cd3b0e4553f966feaae84f6e2564b152.tar.zst freebsd-ports-gnome-f6344267cd3b0e4553f966feaae84f6e2564b152.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
Diffstat (limited to 'dns/bind94')
-rw-r--r-- | dns/bind94/Makefile | 11 |
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 |