Date: Thu, 18 May 2006 13:40:20 GMT From: "Ralf van den Enden" <Ralf.vdEnden@wldelft.nl> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/97431: dns/powerdns doesn't build with LDAP backend Message-ID: <200605181340.k4IDeKkQ088450@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/97431; it has been noted by GNATS. From: "Ralf van den Enden" <Ralf.vdEnden@wldelft.nl> To: <bug-followup@FreeBSD.org>, <koellmann@gmx.net> Cc: Subject: Re: ports/97431: dns/powerdns doesn't build with LDAP backend Date: Thu, 18 May 2006 15:37:54 +0200 Starting with OpenLDAP 2.2.x and up (2.3 and 2.4) some functions have been marked deprecated. However, in 2.2.x those functions are still included due to a #define statement in ldap.h. For 2.3+ this define needs to be passed along to the compiler by hand. To fix your issue do the following: - Open /usr/ports/dns/powerdns/Makefile with your favorite editor. - Look for WITH_LDAP and within that block of code for XXFLAGS+= -L${LOCALBASE}/lib - Replace that with CXXFLAGS+= -L${LOCALBASE}/lib -DLDAP_DEPRECATED=1 - Rebuild the port and it should work now I'll include this fix ASAP in the regular port, but I'm still waiting for some other adjustments to be commited, so I'm not sure how long that'll take. Hope this helped. Best regards, Ralf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605181340.k4IDeKkQ088450>