Date: Fri, 10 Mar 2017 02:20:51 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435818 - head/Mk Message-ID: <201703100220.v2A2Kp1Y088050@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Fri Mar 10 02:20:51 2017 New Revision: 435818 URL: https://svnweb.freebsd.org/changeset/ports/435818 Log: Allow overriding the ccache location with CCACHE_WRAPPER_PATH. This is the same variable name as used in the base build from bsd.compiler.mk. With hat: portmgr Modified: head/Mk/bsd.ccache.mk Modified: head/Mk/bsd.ccache.mk ============================================================================== --- head/Mk/bsd.ccache.mk Fri Mar 10 02:05:01 2017 (r435817) +++ head/Mk/bsd.ccache.mk Fri Mar 10 02:20:51 2017 (r435818) @@ -33,11 +33,11 @@ WARNING+= WITH_CCACHE_BUILD support disa BUILD_DEPENDS+= ${LOCALBASE}/bin/ccache:devel/ccache . endif -_CCACHE_PATH= ${LOCALBASE}/libexec/ccache +CCACHE_WRAPPER_PATH?= ${LOCALBASE}/libexec/ccache -.if exists(${_CCACHE_PATH}) +.if exists(${CCACHE_WRAPPER_PATH}) # Prepend the ccache dir into the PATH and setup ccache env -PATH:= ${_CCACHE_PATH}:${PATH} +PATH:= ${CCACHE_WRAPPER_PATH}:${PATH} #.MAKEFLAGS: PATH=${PATH} .if !${MAKE_ENV:MPATH=*} && !${CONFIGURE_ENV:MPATH=*} MAKE_ENV+= PATH=${PATH}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703100220.v2A2Kp1Y088050>