Add support for ldap via openldap 2

Submitted by:	Robin_Blanchard@gactr.uga.edu
This commit is contained in:
David W. Chapman Jr. 2002-03-13 04:14:15 +00:00
parent 736f858aac
commit 3706b80d01
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55984

View file

@ -41,6 +41,13 @@ CONFIGURE_ARGS= --libdir=${SAMBA_CONFDIR} \
.include <bsd.port.pre.mk>
.if defined(WITH_LDAP)
LIB_DEPENDS+= ldap.2:\${PORTSDIR}/net/openldap2
CONFIGURE_ARGS+=--with-ldapsam
CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
.endif
.if !defined(WITHOUT_CUPS)
WITH_CUPS= yes
.endif