diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-08-26 06:57:37 +0100 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-08-26 06:57:37 +0100 |
| commit | e957c041d7058fcf070323e847db2c0c0479a111 (patch) | |
| tree | bb515b9a23337d6f8977f58e10162acd78fdf51b /etc | |
| parent | 50efb5789d325c95634fefc2f444535ccd1681b3 (diff) | |
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
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/mail/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
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> |
