cmake.eclass: Add comment regarding cmake_src_prepare pushd/popd
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 5 Jan 2020 13:54:05 +0000 (14:54 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 5 Jan 2020 13:55:33 +0000 (14:55 +0100)
We'll have to test affected packages when changing this.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
eclass/cmake.eclass

index 4a02a646bb76965633ffe5e82794c3e615819c5a..62c2e9ae1f46d3d2c113b800e13843dff96c21f3 100644 (file)
@@ -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