Add support for ldap via openldap 2
Submitted by: Robin_Blanchard@gactr.uga.edu
This commit is contained in:
parent
736f858aac
commit
3706b80d01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=55984
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue