Use MK_OPENLDAP in preference to WITH_OPENLDAP and make it a default
NO option to match the opt-in nature of the historical nature of this option.
This commit is contained in:
parent
24de3d7092
commit
a32e8ab24f
@ -1,12 +1,14 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.include <bsd.own.mk>
|
||||
|
||||
NO_LINT=
|
||||
|
||||
KRB5DIR= ${.CURDIR}/../../../crypto/heimdal
|
||||
|
||||
CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../../include
|
||||
|
||||
.if defined(WITH_OPENLDAP) && !defined(COMPAT_32BIT)
|
||||
.if ${MK_OPENLDAP} != "no" && !defined(COMPAT_32BIT)
|
||||
OPENLDAPBASE?= /usr/local
|
||||
LDAPLDADD= -lldap -llber
|
||||
LDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;}
|
||||
|
@ -182,6 +182,7 @@ __DEFAULT_NO_OPTIONS = \
|
||||
LLDB \
|
||||
NAND \
|
||||
OFED \
|
||||
OPENLDAP \
|
||||
OPENSSH_NONE_CIPHER \
|
||||
SHARED_TOOLCHAIN \
|
||||
SORT_THREADS \
|
||||
|
2
tools/build/options/WITH_OPENLDAP
Normal file
2
tools/build/options/WITH_OPENLDAP
Normal file
@ -0,0 +1,2 @@
|
||||
.\" $FreeBSD$
|
||||
Enable building openldap support for kerberos.
|
Loading…
Reference in New Issue
Block a user