aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'dns/powerdns/Makefile')
-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