Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jul 2021 19:52:54 GMT
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 6da773cb1ce4 - main - bsd.compiler.mk: Use CCACHE_PKG_PREFIX as ports now supports.
Message-ID:  <202107121952.16CJqsOR043659@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bdrewery:

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

commit 6da773cb1ce4b5ce395266794e375b3b0f981e6a
Author:     Bryan Drewery <bdrewery@FreeBSD.org>
AuthorDate: 2021-07-12 19:51:41 +0000
Commit:     Bryan Drewery <bdrewery@FreeBSD.org>
CommitDate: 2021-07-12 19:52:52 +0000

    bsd.compiler.mk: Use CCACHE_PKG_PREFIX as ports now supports.
---
 share/mk/bsd.compiler.mk | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/share/mk/bsd.compiler.mk b/share/mk/bsd.compiler.mk
index 97198f70d5b6..a52c3968fb09 100644
--- a/share/mk/bsd.compiler.mk
+++ b/share/mk/bsd.compiler.mk
@@ -64,8 +64,9 @@ CCACHE_BUILD_TYPE?=	command
 # PATH since it is more clear that ccache is used and avoids wasting time
 # for mkdep/linking/asm builds.
 LOCALBASE?=		/usr/local
-CCACHE_WRAPPER_PATH?=	${LOCALBASE}/libexec/ccache
-CCACHE_BIN?=		${LOCALBASE}/bin/ccache
+CCACHE_PKG_PREFIX?=	${LOCALBASE}
+CCACHE_WRAPPER_PATH?=	${CCACHE_PKG_PREFIX}/libexec/ccache
+CCACHE_BIN?=		${CCACHE_PKG_PREFIX}/bin/ccache
 .if exists(${CCACHE_BIN})
 # Export to ensure sub-makes can filter it out for mkdep/linking and
 # to chain down into kernel build which won't include this file.



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