1 |
commit: 12abfe9e49c4d244e9d4e237f1329356880e1bdf |
2 |
Author: Nicolas Bock <nicolasbock <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 13 18:26:24 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri May 14 00:22:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12abfe9e |
7 |
|
8 |
mail-client/neomutt: Do not call `cc` |
9 |
|
10 |
Closes: https://bugs.gentoo.org/724716 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/20796 |
12 |
Signed-off-by: Nicolas Bock <nicolasbock <AT> gentoo.org> |
13 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
14 |
|
15 |
mail-client/neomutt/neomutt-20210205-r1.ebuild | 4 +++- |
16 |
mail-client/neomutt/neomutt-99999999.ebuild | 4 +++- |
17 |
2 files changed, 6 insertions(+), 2 deletions(-) |
18 |
|
19 |
diff --git a/mail-client/neomutt/neomutt-20210205-r1.ebuild b/mail-client/neomutt/neomutt-20210205-r1.ebuild |
20 |
index 3c05cf9fd23..e8395c25d1e 100644 |
21 |
--- a/mail-client/neomutt/neomutt-20210205-r1.ebuild |
22 |
+++ b/mail-client/neomutt/neomutt-20210205-r1.ebuild |
23 |
@@ -3,6 +3,8 @@ |
24 |
|
25 |
EAPI=7 |
26 |
|
27 |
+inherit toolchain-funcs |
28 |
+ |
29 |
if [[ ${PV} =~ 99999999$ ]]; then |
30 |
inherit git-r3 |
31 |
EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" |
32 |
@@ -106,7 +108,7 @@ src_configure() { |
33 |
"$(usex test --testing --disable-testing)" |
34 |
) |
35 |
|
36 |
- econf CCACHE=none "${myconf[@]}" |
37 |
+ econf CCACHE=none CC_FOR_BUILD=$(tc-getCC) "${myconf[@]}" |
38 |
} |
39 |
|
40 |
src_test() { |
41 |
|
42 |
diff --git a/mail-client/neomutt/neomutt-99999999.ebuild b/mail-client/neomutt/neomutt-99999999.ebuild |
43 |
index ac3c11deb6f..2731fc6fe9f 100644 |
44 |
--- a/mail-client/neomutt/neomutt-99999999.ebuild |
45 |
+++ b/mail-client/neomutt/neomutt-99999999.ebuild |
46 |
@@ -3,6 +3,8 @@ |
47 |
|
48 |
EAPI=7 |
49 |
|
50 |
+inherit toolchain-funcs |
51 |
+ |
52 |
if [[ ${PV} =~ 99999999$ ]]; then |
53 |
inherit git-r3 |
54 |
EGIT_REPO_URI="https://github.com/neomutt/neomutt.git" |
55 |
@@ -102,7 +104,7 @@ src_configure() { |
56 |
"$(usex test --testing --disable-testing)" |
57 |
) |
58 |
|
59 |
- econf CCACHE=none "${myconf[@]}" |
60 |
+ econf CCACHE=none CC_FOR_BUILD=$(tc-getCC) "${myconf[@]}" |
61 |
} |
62 |
|
63 |
src_test() { |