Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 05 Jan 2020 13:55:46
Message-Id: 1578232533.5bb03ba166fa2e45caedbce2a3b150db6df9d0ab.asturm@gentoo
1 commit: 5bb03ba166fa2e45caedbce2a3b150db6df9d0ab
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 5 13:54:05 2020 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 5 13:55:33 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bb03ba1
7
8 cmake.eclass: Add comment regarding cmake_src_prepare pushd/popd
9
10 We'll have to test affected packages when changing this.
11
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 eclass/cmake.eclass | 2 ++
15 1 file changed, 2 insertions(+)
16
17 diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
18 index 4a02a646bb7..62c2e9ae1f4 100644
19 --- a/eclass/cmake.eclass
20 +++ b/eclass/cmake.eclass
21 @@ -294,6 +294,8 @@ _cmake_modify-cmakelists() {
22 cmake_src_prepare() {
23 debug-print-function ${FUNCNAME} "$@"
24
25 + # FIXME: workaround from cmake-utils; use current working directory instead, bug #704524
26 + # esp. test with 'special' pkgs like: app-arch/brotli, media-gfx/gmic, net-libs/quiche
27 pushd "${S}" > /dev/null || die
28
29 default_src_prepare