summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-05 14:54:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-05 14:55:33 +0100
commit5bb03ba166fa2e45caedbce2a3b150db6df9d0ab (patch)
treeb8f4fa3d71a3ae2577003b4f47bce0305a22bcde /eclass
parentcmake.eclass: Fix build with CMAKE_VERBOSE=OFF (diff)
downloadgentoo-5bb03ba166fa2e45caedbce2a3b150db6df9d0ab.tar.gz
gentoo-5bb03ba166fa2e45caedbce2a3b150db6df9d0ab.tar.bz2
gentoo-5bb03ba166fa2e45caedbce2a3b150db6df9d0ab.zip
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 <asturm@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/cmake.eclass2
1 files changed, 2 insertions, 0 deletions
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