The branch main has been updated by ivy:

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

commit e957c041d7058fcf070323e847db2c0c0479a111
Author:     Lexi Winter <i...@freebsd.org>
AuthorDate: 2025-08-26 05:57:37 +0000
Commit:     Lexi Winter <i...@freebsd.org>
CommitDate: 2025-08-26 05:57:37 +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
---
 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>

Reply via email to