Skip to content

Commit

Permalink
Mk/bsd.ccache.mk: Rename CCACHE_PREFIX -> CCACHE_PKG_PREFIX
Browse files Browse the repository at this point in the history
CCACHE_PREFIX already means something special to ccache.

PR:	242944
  • Loading branch information
bdrewery committed Jul 12, 2021
1 parent 6feaf49 commit be98df0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Mk/bsd.ccache.mk
Expand Up @@ -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

Expand All @@ -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) && \
Expand Down

0 comments on commit be98df0

Please sign in to comment.