Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: eclass/
Date: Sun, 05 Jan 2020 13:58:35
Message-Id: 1578232697.1fd9b8d6c9103aa774f98a5c0c16c94fee7c99b3.asturm@gentoo
1 commit: 1fd9b8d6c9103aa774f98a5c0c16c94fee7c99b3
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:58:17 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=1fd9b8d6
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 b7044d3144..bd78401163 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