Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2025 20:41:40 GMT
From:      Lexi Winter <ivy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 604830cbe5a6 - stable/14 - sendmail: Remove runtime dependency on clang
Message-ID:  <202509102041.58AKfeb8092289@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by ivy:

URL: https://cgit.FreeBSD.org/src/commit/?id=604830cbe5a66a80f2c8b5b1ba51c84d22fd7b98

commit 604830cbe5a66a80f2c8b5b1ba51c84d22fd7b98
Author:     Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-08-26 05:57:37 +0000
Commit:     Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-09-10 19:28:49 +0000

    sendmail: Remove runtime dependency on clang
    
    etc/mail/Makefile includes bsd.own.mk, which includes bsd.compiler.mk,
    which fails with an error if it can't locate a C compiler.  Set
    _WITHOUT_SRCCONF=yes before including bsd.own.mk to disable this
    behaviour.
    
    Reviewed by:    gshapiro
    Differential Revision:  https://reviews.freebsd.org/D52134
    
    (cherry picked from commit e957c041d7058fcf070323e847db2c0c0479a111)
---
 etc/mail/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/etc/mail/Makefile b/etc/mail/Makefile
index 784023d6f9c0..9b03047102ea 100644
--- a/etc/mail/Makefile
+++ b/etc/mail/Makefile
@@ -241,5 +241,7 @@ restart restart-mta restart-mspq:
 .include "Makefile.local"
 .endif
 
-# For the definition of $SHAREMODE
+# For the definition of $SHAREMODE.  Define _WITHOUT_SRCCONF to prevent this
+# including <bsd.compiler.mk>, which requires clang.
+_WITHOUT_SRCCONF=yes
 .include <bsd.own.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202509102041.58AKfeb8092289>