>Synopsis: Powerdns port does not honor openldap version
>Arrival-Date: Wed Sep 28 16:40:13 GMT 2005
>Originator: Ruben Kerkhof
FreeBSD wodan.marshallplein.nl 5.4-SECURITY FreeBSD 5.4-SECURITY #0: Wed Jul 20 08:57:11 UTC 2005 firstname.lastname@example.org:/usr/obj/usr/src/sys/GENERIC i386
when doing "make configure" in /usr/port/dns/powerdns you have the option to choose openldap23 as a backend. By choosing this option, a Makefile.inc gets created with WITH_LDAP=YES WANT_OPENLDAP_VER?=23 in it. However, when building, the port wants to install openldap22. From /usr/ports/CHANGES: A user (or package building cluster) can select the desired flavour with WANT_OPENLDAP_VER and WANT_OPENLDAP_SASL, but these must not be used in ports Makefiles.
Select the openldap23 backend and build the port.
short term fix: "make WANT_OPENLDAP_VER=23 install clean".
long term fix: remove the option from the ncurses menu and state in the Makefile that if you want to build this port with openldap23, you have to add WANT_OPENLDAP_VER=23 on the command line.