git: 531f4f1d9db1 - main - devel/build2: disable ccache

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Fri, 28 Apr 2023 16:17:52 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=531f4f1d9db1c2046cd5fc04ed9b750fdc9c9790

commit 531f4f1d9db1c2046cd5fc04ed9b750fdc9c9790
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-04-24 11:16:50 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-28 16:13:37 +0000

    devel/build2: disable ccache
    
    The port apparently doesn't like being built with ccache and refuses
    to configure under these circumstances.
    
    MFH:            2023Q2
---
 devel/build2/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/build2/Makefile b/devel/build2/Makefile
index 34a2a70b22fc..329a5409f2a1 100644
--- a/devel/build2/Makefile
+++ b/devel/build2/Makefile
@@ -15,6 +15,11 @@ BROKEN_i386=	error: timestamp is not lock-free on this architecture
 
 USES=		gmake pkgconfig sqlite tar:xz
 
+# warning: clang@/usr/local/libexec/ccache/clang looks like a ccache wrapper
+#  info: ccache cannot be used as a C compiler
+#  info: use config.c to override
+NO_CCACHE=	yes
+
 pre-build:
 # phase 1
 	@cd ${WRKSRC}/build2 && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_FLAGS} bootstrap.gmake ${_MAKE_JOBS}