kerberos5: Migrate from COMPAT_32BIT to generic COMPAT_LIBCOMPAT

See commit 8fad2cda93 ("bsd.compat.mk: Provide new CPP and sub-make
variables") for the context behind this change.

Reviewed by:	emaste, imp, brooks, jhb
Differential Revision:	https://reviews.freebsd.org/D40926
This commit is contained in:
Jessica Clarke 2023-07-09 18:49:21 +01:00
parent f940929d41
commit cb2f2faa6d

View file

@ -11,7 +11,7 @@ CFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR:H:H}/include
WARNS?= 1
CWARNFLAGS.clang+= -Wno-absolute-value
.if ${MK_OPENLDAP} != "no" && !defined(COMPAT_32BIT)
.if ${MK_OPENLDAP} != "no" && !defined(COMPAT_LIBCOMPAT)
OPENLDAPBASE?= /usr/local
LDAPLDADD= -lldap -llber
LDAPDPADD= ${LDAPLDADD:C;^-l(.*)$;${OPENLDAPBASE}/lib/lib\1.a;}