summaryrefslogtreecommitdiffstats
path: root/kerberos5/Makefile.inc
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-04-24 23:17:31 +0000
committerimp <imp@FreeBSD.org>2014-04-24 23:17:31 +0000
commita32e8ab24f11ea74b217bdfa0857c0dc3e12a4a2 (patch)
tree9bcc3778f3b4b3e869c081e0dc0db4350f320ce2 /kerberos5/Makefile.inc
parent24de3d7092b15b09c29b84d02bab97c1021c3cf4 (diff)
downloadFreeBSD-src-a32e8ab24f11ea74b217bdfa0857c0dc3e12a4a2.zip
FreeBSD-src-a32e8ab24f11ea74b217bdfa0857c0dc3e12a4a2.tar.gz
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.
Diffstat (limited to 'kerberos5/Makefile.inc')
-rw-r--r--kerberos5/Makefile.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/kerberos5/Makefile.inc b/kerberos5/Makefile.inc
index 79355dd..943f744 100644
--- a/kerberos5/Makefile.inc
+++ b/kerberos5/Makefile.inc
@@ -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;}
OpenPOWER on IntegriCloud