The infrastructure Makefiles PR: 206569 Exp run by: antoine Differential Revision: D5047
For example, if ports-mgmt/pkg is PKG_ORIGIN then it is safe to use ccache for ports-mgmt/pkg-devel.
in the global scope as bsd.ccache.mk expected. This was causing ccache to use WKRDIR/.ccache for obj caching. 'make clean' would then lose all cached files. This worked in in Poudriere though as CCACHE_DIR is explicitly defined. With hat: portmgr
With hat: portmgr