The branch main has been updated by cy:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=0acf1dd7929be653d303b3eef5f83a0b8ed1eb45

commit 0acf1dd7929be653d303b3eef5f83a0b8ed1eb45
Author:     Cy Schubert <c...@freebsd.org>
AuthorDate: 2025-06-10 20:05:49 +0000
Commit:     Cy Schubert <c...@freebsd.org>
CommitDate: 2025-06-16 02:49:36 +0000

    lib: Only build libcom_err with Heimdal
    
    MIT KRB5 provides its own libcom_err.
    
    Sponsored by:           The FreeBSD Foundation
    Reviewed by:            markj, emaste
    Differential revision:  https://reviews.freebsd.org/D50809
---
 lib/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/Makefile b/lib/Makefile
index 82d461fe0873..fcb4bd95fecb 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -175,7 +175,9 @@ SUBDIR.${MK_FILE}+= libmagic
 SUBDIR.${MK_GPIO}+=    libgpio
 SUBDIR.${MK_GSSAPI}+=  libgssapi librpcsec_gss
 SUBDIR.${MK_ICONV}+=   libiconv_modules
+.if ${MK_MITKRB5} == "no"
 SUBDIR.${MK_KERBEROS_SUPPORT}+=        libcom_err
+.endif
 SUBDIR.${MK_LDNS}+=    libldns
 SUBDIR.${MK_STATS}+=   libstats
 

Reply via email to