summaryrefslogtreecommitdiffstats
path: root/net/samba/Makefile
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-03-13 04:14:15 +0000
committerdwcjr <dwcjr@FreeBSD.org>2002-03-13 04:14:15 +0000
commit6c7db3abc58ab472b5e983d52cc09345c5aa6909 (patch)
tree8740defe1aa2814f5450d314126df11b490319ad /net/samba/Makefile
parent7dbc67ef87b59eb950829106eff4b1ab3e4993f5 (diff)
downloadFreeBSD-ports-6c7db3abc58ab472b5e983d52cc09345c5aa6909.zip
FreeBSD-ports-6c7db3abc58ab472b5e983d52cc09345c5aa6909.tar.gz
Add support for ldap via openldap 2
Submitted by: Robin_Blanchard@gactr.uga.edu
Diffstat (limited to 'net/samba/Makefile')
-rw-r--r--net/samba/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile
index 9c47935..afbc508 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
OpenPOWER on IntegriCloud