app-editors/neovim: Fix hardcoded usage of ccache

Use the cmake variable CACHE_PRG to turn off usage of ccache and sccache
by default if they are found on the system.

Refer: f0757ee590/CONTRIBUTING.md (L48)
Closes: https://bugs.gentoo.org/906019
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/42755
Closes: https://github.com/gentoo/gentoo/pull/42755
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Brahmajit Das
2025-06-26 08:54:37 +05:30
committed by Sam James
parent 1ac8eeca3d
commit 346cd62ee1
3 changed files with 6 additions and 0 deletions

View File

@@ -94,6 +94,8 @@ src_configure() {
-DENABLE_LTO=OFF
-DPREFER_LUA=$(usex lua_single_target_luajit no "$(lua_get_version)")
-DLUA_PRG="${LUA}"
# bug 906019: fix hardcoded usage of ccache
-DCACHE_PRG=OFF
)
cmake_src_configure
}

View File

@@ -94,6 +94,8 @@ src_configure() {
-DENABLE_LTO=OFF
-DPREFER_LUA=$(usex lua_single_target_luajit no "$(lua_get_version)")
-DLUA_PRG="${LUA}"
# bug 906019: fix hardcoded usage of ccache
-DCACHE_PRG=OFF
)
cmake_src_configure
}

View File

@@ -94,6 +94,8 @@ src_configure() {
-DENABLE_LTO=OFF
-DPREFER_LUA=$(usex lua_single_target_luajit no "$(lua_get_version)")
-DLUA_PRG="${LUA}"
# bug 906019: fix hardcoded usage of ccache
-DCACHE_PRG=OFF
)
cmake_src_configure
}