aboutsummaryrefslogtreecommitdiff
path: root/dns/powerdns
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2006-08-06 18:14:26 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2006-08-06 18:14:26 +0000
commitd4f227b424f384d2d340e5a0e67cb46fc32be200 (patch)
tree4fcb7cb09ce8e15e8211080613ccd4b2dd773969 /dns/powerdns
parentdbd09dee5e9926f32d3511f14a756db5293e7448 (diff)
downloadports-d4f227b424f384d2d340e5a0e67cb46fc32be200.tar.gz
ports-d4f227b424f384d2d340e5a0e67cb46fc32be200.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>
Notes
Notes: svn path=/head/; revision=169845
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