aboutsummaryrefslogtreecommitdiff
path: root/dns/bind9-dlz
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-11-01 15:44:17 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-11-01 15:44:17 +0000
commit44f9773099dbac6c928d666a53b8f4ce6345fac7 (patch)
tree262e2f3e4e59987dab7ffda1baace8b8815804fa /dns/bind9-dlz
parentd67c7d7d0e1fda6eef4c9fa91ca7a40cc71d9f19 (diff)
downloadports-44f9773099dbac6c928d666a53b8f4ce6345fac7.tar.gz
ports-44f9773099dbac6c928d666a53b8f4ce6345fac7.zip
Notes
Diffstat (limited to 'dns/bind9-dlz')
-rw-r--r--dns/bind9-dlz/Makefile3
-rw-r--r--dns/bind9-dlz/files/configure.bind9-dlz17
2 files changed, 16 insertions, 4 deletions
diff --git a/dns/bind9-dlz/Makefile b/dns/bind9-dlz/Makefile
index 6c917c96aeac..98711f8d185b 100644
--- a/dns/bind9-dlz/Makefile
+++ b/dns/bind9-dlz/Makefile
@@ -57,7 +57,8 @@ CONFIGURE_ARGS+= --with-dlz-postgres
.endif
.if defined(WITH_MYSQL_DRIVER)
-LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+MYSQL_PORT?= databases/mysql323-client
+LIB_DEPENDS+= mysqlclient:${PORTSDIR}/${MYSQL_PORT}
CONFIGURE_ARGS+= --with-dlz-mysql
.endif
diff --git a/dns/bind9-dlz/files/configure.bind9-dlz b/dns/bind9-dlz/files/configure.bind9-dlz
index f8a554ab6607..69c77b34b8f3 100644
--- a/dns/bind9-dlz/files/configure.bind9-dlz
+++ b/dns/bind9-dlz/files/configure.bind9-dlz
@@ -11,10 +11,12 @@ if [ "${BINDDLZ_OPTIONS}" ]; then
else
dialog --title "configuration options" --clear \
--checklist "\n\
-Please select desired options:" -1 -1 5 \
+Please select desired options:" -1 -1 7 \
OpenSSL "OpenSSL support" ON \
PostgreSQL "PostgreSQL driver" ON \
-MySQL "MySQL driver" OFF \
+MySQL323 "MySQL 3.23 driver" OFF \
+MySQL40 "MySQL 4.0 driver" OFF \
+MySQL41 "MySQL 4.1 driver" OFF \
FileSystem "Filesystem driver" ON \
Stub "Stub driver" OFF \
2> /tmp/checklist.tmp.$$
@@ -47,8 +49,17 @@ while [ "$1" ]; do
\"PostgreSQL\")
echo WITH_POSTGRESQL_DRIVER=YES
;;
- \"MySQL\")
+ \"MySQL323\")
echo WITH_MYSQL_DRIVER=YES
+ echo MYSQL_PORT?=databases/mysql323-client
+ ;;
+ \"MySQL40\")
+ echo WITH_MYSQL_DRIVER=YES
+ echo MYSQL_PORT?=databases/mysql40-client
+ ;;
+ \"MySQL41\")
+ echo WITH_MYSQL_DRIVER=YES
+ echo MYSQL_PORT?=databases/mysql41-client
;;
\"FileSystem\")
echo WITH_FILESYSTEM_DRIVER=YES