[Bug 266310] Mk/bsd.ccache.mk: Add CCACHE_ENABLED variable for ports' convenience

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 Sep 2022 16:44:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=266310

--- Comment #7 from Yuri Victorovich <yuri@freebsd.org> ---
Port that would benefit: graphics/filament

Here https://github.com/google/filament/blob/main/CMakeLists.txt#L68 it looks
for the ccache program which causes deviation from the ports framework ccache
setting.

The CCACHE_ENABLED value can be passed to cmake to limit ccache use to
situations when ccache is enabled through the ports framework.

ccache is in general very useful since it improved productivity of work on
C/C++ ports by caching previous compilation results.

-- 
You are receiving this mail because:
You are on the CC list for the bug.