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

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

--- Comment #5 from Yuri Victorovich <yuri@freebsd.org> ---
(In reply to Tobias C. Berner from comment #4)

Tobias,

This line
> CMAKE_ARGS+=-DUSE_CCACHE:BOOL=${NO_CCACHE:DNO:UYES}
doesn't evaluate to the same. When no ccache settings are present in make.conf
it evaluates to YES instead of NO.

Also it is a lot less error-prone to have a single variable for all such ports
to use.

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