From owner-svn-ports-all@freebsd.org Fri Mar 10 02:20:52 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ADBFED05F3A; Fri, 10 Mar 2017 02:20:52 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7637E1A1F; Fri, 10 Mar 2017 02:20:52 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v2A2Kp12088051; Fri, 10 Mar 2017 02:20:51 GMT (envelope-from bdrewery@FreeBSD.org) Received: (from bdrewery@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v2A2Kp1Y088050; Fri, 10 Mar 2017 02:20:51 GMT (envelope-from bdrewery@FreeBSD.org) Message-Id: <201703100220.v2A2Kp1Y088050@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bdrewery set sender to bdrewery@FreeBSD.org using -f From: Bryan Drewery Date: Fri, 10 Mar 2017 02:20:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435818 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Mar 2017 02:20:52 -0000 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}