[Bug 277202] devel/cmake-core: fail to build if no ccache installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 20 23:32:23 GMT 2024


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277202

--- Comment #4 from Ivan Rozhuk <rozhuk.im at gmail.com> ---
(In reply to Jason E. Hale from comment #3)

ccache.mk should check that ${CCACHE_BIN} exist and if not than unset
WITH_CCACHE_BUILD, set NO_CCACHE and CCACHE_ENABLED=no, this should cover all
possible cases.

But while ports hang on old ccache3 it is not actual.

To avoid the circular dependency I add in ccache makefile:
NO_CCACHE_DEPEND=yes
.export NO_CCACHE_DEPEND

But this does not work with portmaster and other build tools that manage deps
inside own code.
Portmaster and other tools should be patched to set NO_CCACHE_DEPEND env var
while build any ccache port.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the kde-freebsd mailing list