From: Andreas Sturmlechner Date: Sun, 5 Jan 2020 13:54:05 +0000 (+0100) Subject: cmake.eclass: Add comment regarding cmake_src_prepare pushd/popd X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5bb03ba166fa2e45caedbce2a3b150db6df9d0ab;p=gentoo.git cmake.eclass: Add comment regarding cmake_src_prepare pushd/popd We'll have to test affected packages when changing this. Signed-off-by: Andreas Sturmlechner --- diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index 4a02a646bb76..62c2e9ae1f46 100644 --- a/eclass/cmake.eclass +++ b/eclass/cmake.eclass @@ -294,6 +294,8 @@ _cmake_modify-cmakelists() { cmake_src_prepare() { debug-print-function ${FUNCNAME} "$@" + # FIXME: workaround from cmake-utils; use current working directory instead, bug #704524 + # esp. test with 'special' pkgs like: app-arch/brotli, media-gfx/gmic, net-libs/quiche pushd "${S}" > /dev/null || die default_src_prepare