diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-03-27 03:16:54 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-03-27 03:16:54 +0800 |
commit | 810b64b610ea7285ca008497f86e5b6b9e56e77f (patch) | |
tree | 4581a1df3b471ac1cce61d898e28406e96230cc4 /dns | |
parent | df096b05bf4ca121e071c345ffe49f40ed0fb7f5 (diff) | |
download | freebsd-ports-gnome-810b64b610ea7285ca008497f86e5b6b9e56e77f.tar.gz freebsd-ports-gnome-810b64b610ea7285ca008497f86e5b6b9e56e77f.tar.zst freebsd-ports-gnome-810b64b610ea7285ca008497f86e5b6b9e56e77f.zip |
- make PKGNAMESUFFIX more flexible
Diffstat (limited to 'dns')
-rw-r--r-- | dns/bind9-dlz/Makefile | 6 |
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} |