summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2012-03-23 03:16:35 +0000
committerstas <stas@FreeBSD.org>2012-03-23 03:16:35 +0000
commit97dfa7c7ff387e37cedc94bf1c786020c8dc5cb1 (patch)
tree15f66953bb9d1f9ed7238c4c2a3d0853a9d40231 /lib/Makefile
parent0450849e9cfb65a556aecc37fa3485430f246239 (diff)
downloadFreeBSD-src-97dfa7c7ff387e37cedc94bf1c786020c8dc5cb1.zip
FreeBSD-src-97dfa7c7ff387e37cedc94bf1c786020c8dc5cb1.tar.gz
- Do not build libcom_err and compile_et when kerberos is disabled. They
depends on several heimdal libraries and not used by anything but kerberos tools.
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/Makefile b/lib/Makefile
index ba2f905..0c3e389 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -33,7 +33,6 @@ SUBDIR_ORDERED= ${_csu} \
libc \
libbsm \
libauditd \
- libcom_err \
libcompiler_rt \
libcrypt \
libelf \
@@ -52,6 +51,10 @@ SUBDIR_ORDERED= ${_csu} \
${_libcxxrt} \
${_libcplusplus}
+.if ${MK_KERBEROS_SUPPORT} != "no"
+SUBDIR_ORDERED+= libcom_err
+.endif
+
SUBDIR= ${SUBDIR_ORDERED} \
libalias \
libarchive \
OpenPOWER on IntegriCloud