diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-03-13 12:14:15 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-03-13 12:14:15 +0800 |
commit | 6c7db3abc58ab472b5e983d52cc09345c5aa6909 (patch) | |
tree | 8740defe1aa2814f5450d314126df11b490319ad /net/samba | |
parent | 7dbc67ef87b59eb950829106eff4b1ab3e4993f5 (diff) | |
download | freebsd-ports-gnome-6c7db3abc58ab472b5e983d52cc09345c5aa6909.tar.gz freebsd-ports-gnome-6c7db3abc58ab472b5e983d52cc09345c5aa6909.tar.zst freebsd-ports-gnome-6c7db3abc58ab472b5e983d52cc09345c5aa6909.zip |
Add support for ldap via openldap 2
Submitted by: Robin_Blanchard@gactr.uga.edu
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/Makefile | 7 |
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 |