summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2007-12-10 19:09:24 +0000
committerdougb <dougb@FreeBSD.org>2007-12-10 19:09:24 +0000
commit13eeb9aa260c17324b860bc2f66af8f352657072 (patch)
treee0d7a962bbcc2c3f8c45471b446b8d2908ec09d6 /lib
parent0d684d927bf42ec9c53b0f921e6aaa42e7236cd7 (diff)
downloadFreeBSD-src-13eeb9aa260c17324b860bc2f66af8f352657072.zip
FreeBSD-src-13eeb9aa260c17324b860bc2f66af8f352657072.tar.gz
Hide the building and installation of libgssapi behind the
WITHOUT_KERBEROS knob. While GSS can be used for other things some third party software (most notably ports/x11/kdelibs3) takes the presence of libgssapi as an indication that kerberos is available, and attempts to link with the kerberos libs. If they are not available, the build will fail. Because you might want to use GSS but not kerberos, add a knob to re-enable it if WITHOUT_KERBEROS is present. Document the new knob, and the new behavior of WITHOUT_KERBEROS. Not objected and/or generally agreed to by: freebsd-arch Problem discussed/analyzed in: PR: ports/116484
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index dbb26f7..3451703 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -31,7 +31,7 @@ SUBDIR= ${_csu} libc libbsm libcom_err libcrypt libelf libkvm msun libmd \
libbegemot ${_libbluetooth} libbsnmp libbz2 \
libcalendar libcam libcompat libdevinfo libdevstat libdisk \
libedit libexpat libfetch libftpio libgeom ${_libgpib} \
- libgssapi libipsec \
+ ${_libgssapi} libipsec \
${_libipx} libkiconv libmagic libmemstat ${_libmilter} ${_libmp} \
${_libncp} ${_libngatm} libopie libpam libpcap \
libpmc ${_libkse} librt ${_libsdp} ${_libsm} ${_libsmb} \
@@ -62,6 +62,14 @@ _libbluetooth= libbluetooth
_libsdp= libsdp
.endif
+.if ${MK_KERBEROS} != "no"
+_libgssapi= libgssapi
+.else
+.if ${MK_GSSAPI} == "yes"
+_libgssapi= libgssapi
+.endif
+.endif
+
.if ${MK_IPX} != "no"
_libipx= libipx
.endif
OpenPOWER on IntegriCloud