Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/openldap/lib/libldap Conditionalize GSSAPI use ...



details:   https://anonhg.NetBSD.org/src/rev/660defa35e7a
branches:  trunk
changeset: 1022937:660defa35e7a
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Aug 15 10:33:58 2021 +0000

description:
Conditionalize GSSAPI use on USE_KERBEROS

diffstat:

 external/bsd/openldap/lib/libldap/Makefile.libldap |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 440198d8ce3f -r 660defa35e7a external/bsd/openldap/lib/libldap/Makefile.libldap
--- a/external/bsd/openldap/lib/libldap/Makefile.libldap        Sun Aug 15 10:30:39 2021 +0000
+++ b/external/bsd/openldap/lib/libldap/Makefile.libldap        Sun Aug 15 10:33:58 2021 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.libldap,v 1.11 2021/08/14 16:15:03 christos Exp $
+#      $NetBSD: Makefile.libldap,v 1.12 2021/08/15 10:33:58 christos Exp $
 
 .include "../../openldap.mk"
 
@@ -24,7 +24,11 @@
 
 LIBDPLIBS+=    lber    ${.CURDIR}/../liblber
 
+.if ${USE_KERBEROS} != "no"
+CPPFLAGS+=     -DHAVE_GSSAPI
 LIBDPLIBS+=    gssapi  ${NETBSDSRCDIR}/crypto/external/bsd/heimdal/lib/libgssapi
+.endif
+
 LIBDPLIBS+=    crypto  ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libcrypto
 LIBDPLIBS+=    ssl     ${NETBSDSRCDIR}/crypto/external/bsd/${EXTERNAL_OPENSSL_SUBDIR}/lib/libssl
 



Home | Main Index | Thread Index | Old Index