aboutsummaryrefslogtreecommitdiff
path: root/dns/bind9-dlz
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-03-26 19:16:54 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-03-26 19:16:54 +0000
commitdd790268ac140f557d0fa67443e5dde7e4b644ad (patch)
tree388d3a2d5cb5c3d399c498db3850b1a72871c426 /dns/bind9-dlz
parent07f037cbebc5f4f397ed0c6ff90b916103dafee9 (diff)
downloadports-dd790268ac140f557d0fa67443e5dde7e4b644ad.tar.gz
ports-dd790268ac140f557d0fa67443e5dde7e4b644ad.zip
Notes
Diffstat (limited to 'dns/bind9-dlz')
-rw-r--r--dns/bind9-dlz/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/dns/bind9-dlz/Makefile b/dns/bind9-dlz/Makefile
index 1559c8fbb100..db834e6d28f4 100644
--- a/dns/bind9-dlz/Makefile
+++ b/dns/bind9-dlz/Makefile
@@ -13,7 +13,7 @@ MASTER_SITES= ${MASTER_SITE_ISC} \
${MASTER_SITE_RINGSERVER:S,%SUBDIR%,dns/bind9/${ISCVERSION}/,} \
${MASTER_SITES_DLZ:S/$/:dlz/}
MASTER_SITE_SUBDIR= bind9/${ISCVERSION} bind-dlz/:dlz
-PKGNAMESUFFIX= -dlz
+PKGNAMESUFFIX?= -dlz${POSTGRESQL_SUFFIX}${MYSQL_SUFFIX}${BERKLEYDB_SUFFIX}${LDAP_SUFFIX}${PKGNAMESUFFIX2}
DISTFILES= bind-${ISCVERSION}.tar.gz \
DLZ-${DLZVERSION}${EXTRACT_SUFX}:dlz
@@ -51,18 +51,21 @@ NO_DESCRIBE=yes
.if defined(WITH_POSTGRESQL_DRIVER)
.if !defined(WITHOUT_POSTGRESQL_DRIVER)
+POSTGRESQL_SUFFIX= +postgres
LIB_DEPENDS= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
CONFIGURE_ARGS+= --with-dlz-postgres
.endif
.endif
.if defined(WITH_MYSQL_DRIVER)
+MYSQL_SUFFIX= +mysql
MYSQL_PORT?= databases/mysql323-client
LIB_DEPENDS+= mysqlclient:${PORTSDIR}/${MYSQL_PORT}
CONFIGURE_ARGS+= --with-dlz-mysql
.endif
.if defined(WITH_LDAP)
+LDAP_SUFFIX= +ldap
LDAP_PORT?= net/openldap21-client
LIB_DEPENDS+= ldap.${OPENLDAP_LIB_VER}:${PORTSDIR}/${LDAP_PORT}
LIB_DEPENDS+= lber.${OPENLDAP_LIB_VER}:${PORTSDIR}/${LDAP_PORT}
@@ -70,6 +73,7 @@ CONFIGURE_ARGS+= --with-dlz-ldap
.endif
.if defined(WITH_BERKLEYDB_DRIVER)
+BERKLEYDB_SUFFIX= +db4
BERKLEYDB_PORT?= databases/db41
BERKLEYDB_LIB?= db41.1
CONFIGURE_ARGS+= --with-dlz-bdb=${LOCALBASE}