aboutsummaryrefslogtreecommitdiffstats
path: root/dns/bind9
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2006-08-28 14:03:13 +0800
committerdougb <dougb@FreeBSD.org>2006-08-28 14:03:13 +0800
commit9011a9fd67104b95834d33e4db2646106dd97d9d (patch)
treec0787827c32c040288125c55135886260639e407 /dns/bind9
parent5d209b076163de862e5d3b832f9e60a1459feeca (diff)
downloadfreebsd-ports-graphics-9011a9fd67104b95834d33e4db2646106dd97d9d.tar.gz
freebsd-ports-graphics-9011a9fd67104b95834d33e4db2646106dd97d9d.tar.zst
freebsd-ports-graphics-9011a9fd67104b95834d33e4db2646106dd97d9d.zip
Add OPTIONS to the rest of my ports that need them.
Add CONFLICTS to the bind* ports.
Diffstat (limited to 'dns/bind9')
-rw-r--r--dns/bind9/Makefile26
1 files changed, 10 insertions, 16 deletions
diff --git a/dns/bind9/Makefile b/dns/bind9/Makefile
index 275860df39e..c4e19d815cf 100644
--- a/dns/bind9/Makefile
+++ b/dns/bind9/Makefile
@@ -33,6 +33,13 @@ CONFIGURE_ARGS= --localstatedir=/var --disable-linux-caps \
USE_OPENSSL= yes
+CONFLICTS= bind-8.* bind84-8.* bind9-dlz-* bind9-sdb-mysql-* host-* zh-bind-8.*
+
+OPTIONS= REPLACE_BASE "Replace base BIND with this version" off \
+ THREADS "Compile with thread support (NOT RECOMMENDED!)" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_OPENSSL_PORT)
CONFIGURE_ARGS+= --with-openssl=${LOCALBASE}
.else
@@ -41,13 +48,13 @@ CONFIGURE_ARGS+= --with-openssl
# ISC staff has informed me that for 9.3.x, threads are always a bad idea.
# Leave the affirmative option for those that want to experiment.
-.if defined(WITH_BIND9_THREADS)
+.if defined(WITH_THREADS)
CONFIGURE_ARGS+= --enable-threads
.else
CONFIGURE_ARGS+= --disable-threads
.endif
-.if defined(WITH_PORT_REPLACES_BASE_BIND9)
+.if defined(WITH_REPLACE_BASE)
PKGNAMESUFFIX= -base
PREFIX= /usr
BIND_DESTETC= /etc/namedb
@@ -98,19 +105,6 @@ MAN5= named.conf.5 rndc.conf.5
MAN8= dnssec-keygen.8 dnssec-signzone.8 lwresd.8 named-checkconf.8 \
named-checkzone.8 named.8 nsupdate.8 rndc-confgen.8 rndc.8
-pre-fetch:
-.if defined(PORT_REPLACES_BASE_BIND9)
- @${ECHO} ""
- @${ECHO} "***************************************************"
- @${ECHO} "Support for the old PORT_REPLACES_BASE_BIND9 option"
- @${ECHO} "will be removed in future versions of the port."
- @${ECHO} "Use WITH_PORT_REPLACES_BASE_BIND9 instead."
- @${ECHO} "***************************************************"
- @${ECHO} ""
- @/bin/sleep 5
-WITH_PORT_REPLACES_BASE_BIND9= true
-.endif
-
verify: checksum
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc
@@ -136,4 +130,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>