commit: 2d154facd31faabe2167be34185d33ee32088524 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Tue Nov 8 12:14:47 2022 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Tue Nov 8 12:14:47 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d154fac
games-emulation/melonds: do not use CMake ccache detection Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> .../files/melonds-0.9.5-no-ccache-detection.patch | 16 ++++++++++++++++ games-emulation/melonds/melonds-0.9.5-r3.ebuild | 2 ++ 2 files changed, 18 insertions(+) diff --git a/games-emulation/melonds/files/melonds-0.9.5-no-ccache-detection.patch b/games-emulation/melonds/files/melonds-0.9.5-no-ccache-detection.patch new file mode 100644 index 000000000000..0a00b1057f58 --- /dev/null +++ b/games-emulation/melonds/files/melonds-0.9.5-no-ccache-detection.patch @@ -0,0 +1,16 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -92,13 +92,6 @@ endif() + + set(CMAKE_POSITION_INDEPENDENT_CODE ON) + +-find_program(CCACHE "ccache") +-if (CCACHE) +- message(STATUS "Using CCache to speed up compilation") +- set(CMAKE_C_COMPILER_LAUNCHER ${CCACHE}) +- set(CMAKE_CXX_COMPILER_LAUNCHER ${CCACHE}) +-endif() +- + option(BUILD_QT_SDL "Build Qt/SDL frontend" ON) + + add_subdirectory(src) diff --git a/games-emulation/melonds/melonds-0.9.5-r3.ebuild b/games-emulation/melonds/melonds-0.9.5-r3.ebuild index 380ce1eb8140..49156ca69002 100644 --- a/games-emulation/melonds/melonds-0.9.5-r3.ebuild +++ b/games-emulation/melonds/melonds-0.9.5-r3.ebuild @@ -42,6 +42,8 @@ RDEPEND=" DEPEND="${RDEPEND}" BDEPEND="kde-frameworks/extra-cmake-modules:5" +PATCHES=( "${FILESDIR}"/${P}-no-ccache-detection.patch ) + # used for JIT recompiler QA_EXECSTACK="usr/bin/melonDS"