aboutsummaryrefslogtreecommitdiffstats
path: root/dns/powerdns
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2006-08-07 02:14:26 +0800
committerarved <arved@FreeBSD.org>2006-08-07 02:14:26 +0800
commit6ae3b175f9a9439488773c6e2ba146f1f3b4307b (patch)
tree2b690e4ad6ca0ef979a6b1cd305975d96755b6c0 /dns/powerdns
parentd848d0398fe70bb7dad6757df7336673faa2bb32 (diff)
downloadfreebsd-ports-gnome-6ae3b175f9a9439488773c6e2ba146f1f3b4307b.tar.gz
freebsd-ports-gnome-6ae3b175f9a9439488773c6e2ba146f1f3b4307b.tar.zst
freebsd-ports-gnome-6ae3b175f9a9439488773c6e2ba146f1f3b4307b.zip
Fix build of optional LDAP backend with newer versions of OpenLDAP
PR: 97431 Reported by: Thomas Köllmann <koellmann@gmx.net> Submitted by: "Ralf van den Enden" <Ralf.vdEnden@wldelft.nl>
Diffstat (limited to 'dns/powerdns')
-rw-r--r--dns/powerdns/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/powerdns/Makefile b/dns/powerdns/Makefile
index 1832faa8c6f4..c33d95db9f73 100644
--- a/dns/powerdns/Makefile
+++ b/dns/powerdns/Makefile
@@ -75,7 +75,7 @@ PLIST_SUB+= WITHMYSQL="@comment "
USE_OPENLDAP?= YES
CONFIGURE_MODULES+= "ldap"
PLIST_SUB+= WITHLDAP=""
-CXXFLAGS+= -L${LOCALBASE}/lib
+CXXFLAGS+= -L${LOCALBASE}/lib -DLDAP_DEPRECATED=1
.else
PLIST_SUB+= WITHLDAP="@comment "
.endif