diff options
author | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-03-13 04:14:15 +0000 |
---|---|---|
committer | David W. Chapman Jr. <dwcjr@FreeBSD.org> | 2002-03-13 04:14:15 +0000 |
commit | 3706b80d0196adf787923e66d0b0d894a62c6c9b (patch) | |
tree | 55baae1edd225bd9d7c544f9000367c99ce08c90 /net/samba | |
parent | 736f858aacc61013cdff0ca0a6722cb0fe484c80 (diff) |
Notes
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 |