summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-03-13 04:14:15 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-03-13 04:14:15 +0000
commit3706b80d0196adf787923e66d0b0d894a62c6c9b (patch)
tree55baae1edd225bd9d7c544f9000367c99ce08c90
parentUpgrade to the 11-March-2002 GCC 3.1 development snapshot. (diff)
Add support for ldap via openldap 2
Submitted by: Robin_Blanchard@gactr.uga.edu
Notes
Notes: svn path=/head/; revision=55984
-rw-r--r--net/samba/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 9c4793523e0a..afbc508c3b15 100644
--- a/net/samba/Makefile
+++ b/net/samba/Makefile
@@ -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