commit: 76ad139fa613a3eb2a946c922d8fee43db9e1630 Author: Nic Boet <nic <AT> boet <DOT> cc> AuthorDate: Thu Feb 1 03:48:21 2024 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Sat Apr 6 19:47:59 2024 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=76ad139f
cmake.eclass: bug 811486 escape find patterns Modify cmake_src_prepare to qoute escape filenames within the find search patterns This resolves build issues with some EAPI 7 packages, i.e. sys-fs/dislocker via catalyst Bug: https://bugs.gentoo.org/811486 Signed-off-by: Nic Boet <nic <AT> boet.cc> Closes: https://github.com/gentoo/gentoo/pull/35125 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> eclass/cmake.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 1707836864..5e5418bc49 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -305,7 +305,7 @@ cmake_src_prepare() { local name for name in "${modules_list[@]}" ; do if [[ ${EAPI} == 7 ]]; then - find "${S}" -name ${name}.cmake -exec rm -v {} + || die + find "${S}" -name "${name}.cmake" -exec rm -v {} + || die else find -name "${name}.cmake" -exec rm -v {} + || die fi
