1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

Mk/bsd.ccache.mk: Rename CCACHE_PREFIX -> CCACHE_PKG_PREFIX

CCACHE_PREFIX already means something special to ccache.

PR:	242944
This commit is contained in:
Bryan Drewery 2021-07-12 12:49:53 -07:00
parent 6feaf49e01
commit be98df0b75

View File

@ -4,7 +4,7 @@
# WITH_CCACHE_BUILD=yes enables depending on ccache and using it in the build.
# NO_CCACHE_DEPEND will additionally not add the dependency on ccache.
# NO_CCACHE will disable using ccache entirely.
# CCACHE_PREFIX is where ccache is already installed. Default: LOCALBASE
# CCACHE_PKG_PREFIX is where ccache is already installed. Default: LOCALBASE
COMMANDS_Include_MAINTAINER= portmgr@FreeBSD.org
@ -31,9 +31,9 @@ WARNING+= WITH_CCACHE_BUILD support disabled, please set CCACHE_DIR.
.if !defined(NO_CCACHE) && defined(WITH_CCACHE_BUILD) && !${CC:M*ccache*} && \
!defined(NO_BUILD)
CCACHE_PREFIX?= ${LOCALBASE}
CCACHE_WRAPPER_PATH?= ${CCACHE_PREFIX}/libexec/ccache
CCACHE_BIN?= ${CCACHE_PREFIX}/bin/ccache
CCACHE_PKG_PREFIX?= ${LOCALBASE}
CCACHE_WRAPPER_PATH?= ${CCACHE_PKG_PREFIX}/libexec/ccache
CCACHE_BIN?= ${CCACHE_PKG_PREFIX}/bin/ccache
# Avoid depends loops between ccache and pkg
. if !defined(NO_CCACHE_DEPEND) && \