diff options
author | eik <eik@FreeBSD.org> | 2004-05-01 20:08:05 +0800 |
---|---|---|
committer | eik <eik@FreeBSD.org> | 2004-05-01 20:08:05 +0800 |
commit | d80b984949175e3d7ce1f709632d9ad746a520ee (patch) | |
tree | a6561c3641d7e5a74922c6bc2e359b9098b67dc9 /dns/powerdns-devel | |
parent | 8abb12e610a306e03cd572334d373f225799c60f (diff) | |
download | freebsd-ports-gnome-d80b984949175e3d7ce1f709632d9ad746a520ee.tar.gz freebsd-ports-gnome-d80b984949175e3d7ce1f709632d9ad746a520ee.tar.zst freebsd-ports-gnome-d80b984949175e3d7ce1f709632d9ad746a520ee.zip |
Fixed OpenLDAP 2.2 support by using USE_OPENLDAP knob
Default MySQL version now 4.0 instead of 3.23
pet portlint
PR: 66143
Submitted by: Ralf van der Enden <tremere@cainites.net> (maintainer)
Diffstat (limited to 'dns/powerdns-devel')
-rw-r--r-- | dns/powerdns-devel/Makefile | 11 | ||||
-rw-r--r-- | dns/powerdns-devel/files/configure.powerdns | 10 |
2 files changed, 8 insertions, 13 deletions
diff --git a/dns/powerdns-devel/Makefile b/dns/powerdns-devel/Makefile index bbdeb242eb90..e85395bf2cfd 100644 --- a/dns/powerdns-devel/Makefile +++ b/dns/powerdns-devel/Makefile @@ -7,7 +7,7 @@ PORTNAME= powerdns PORTVERSION= 2.9.16 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= dns ipv6 MASTER_SITES= http://downloads.powerdns.com/releases/ DISTNAME= pdns-${PORTVERSION} @@ -52,8 +52,7 @@ CONFIGURE_ARGS+= --disable-pgsql .endif .if defined(WITH_MYSQL_DRIVER) -LIB_DEPENDS+= mysqlclient:${PORTSDIR}/${MYSQL_PORT} -MYSQL_PORT?= databases/mysql323-client +USE_MYSQL?= YES CONFIGURE_ARGS+= --enable-mysql CONFIGURE_MODULES+= "gmysql" .else @@ -61,11 +60,9 @@ CONFIGURE_ARGS+= --disable-mysql .endif .if defined(WITH_LDAP) -LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT} -LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT} -LDAP_PORT?= net/openldap21-client +USE_OPENLDAP?= YES USE_LIBTOOL_VER= 13 -INSTALLS_SHLIB= YES +INSTALLS_SHLIB= YES USE_GCC=3.2 CONFIGURE_MODULES+= "ldap" PLIST_SUB+= WITHLDAP="" diff --git a/dns/powerdns-devel/files/configure.powerdns b/dns/powerdns-devel/files/configure.powerdns index 349dcb7db993..add922f57538 100644 --- a/dns/powerdns-devel/files/configure.powerdns +++ b/dns/powerdns-devel/files/configure.powerdns @@ -11,7 +11,7 @@ if [ "${POWERDNS_OPTIONS}" ]; then else dialog --title "configuration options" --clear \ --checklist "\n\ -Please select desired options:" -1 -1 9 \ +Please select desired options:" -1 -1 8 \ PostgreSQL "PostgreSQL driver" ON \ MySQL323 "MySQL 3.23 driver" OFF \ MySQL40 "MySQL 4.0 driver" OFF \ @@ -49,23 +49,21 @@ while [ "$1" ]; do ;; \"MySQL323\") echo WITH_MYSQL_DRIVER=YES - echo MYSQL_PORT?=databases/mysql323-client + echo WITH_MYSQL_VER?=323 ;; \"MySQL40\") echo WITH_MYSQL_DRIVER=YES - echo MYSQL_PORT?=databases/mysql40-client ;; \"MySQL41\") echo WITH_MYSQL_DRIVER=YES - echo MYSQL_PORT?=databases/mysql41-client + echo WITH_MYSQL_VER?=41 ;; \"OpenLDAP21\") echo WITH_LDAP=YES - echo LDAP_PORT?=net/openldap21-client ;; \"OpenLDAP22\") echo WITH_LDAP=YES - echo LDAP_PORT?=net/openldap22-client + echo WANT_OPENLDAP_VER?=22 ;; \"SQLite\") echo WITH_SQLITE=YES |