1 |
commit: 48fca8c4d33b4dcd742f2b5e4acbc8b8121c6353 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Thu Apr 29 14:25:16 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 01:48:28 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48fca8c4 |
7 |
|
8 |
dev-libs/fribidi: Set CC_FOR_BUILD. |
9 |
|
10 |
configure can not find a compiler with |
11 |
sys-devel/gcc-config[-native-symlinks] otherwise. |
12 |
|
13 |
Closes: https://bugs.gentoo.org/726180 |
14 |
Closes: https://github.com/gentoo/gentoo/pull/20594 |
15 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
16 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
17 |
|
18 |
dev-libs/fribidi/fribidi-1.0.10.ebuild | 8 +++++++- |
19 |
1 file changed, 7 insertions(+), 1 deletion(-) |
20 |
|
21 |
diff --git a/dev-libs/fribidi/fribidi-1.0.10.ebuild b/dev-libs/fribidi/fribidi-1.0.10.ebuild |
22 |
index 93619b5401d..e0fa1b58052 100644 |
23 |
--- a/dev-libs/fribidi/fribidi-1.0.10.ebuild |
24 |
+++ b/dev-libs/fribidi/fribidi-1.0.10.ebuild |
25 |
@@ -3,7 +3,7 @@ |
26 |
|
27 |
EAPI=7 |
28 |
|
29 |
-inherit multilib-minimal |
30 |
+inherit multilib-minimal toolchain-funcs |
31 |
|
32 |
DESCRIPTION="A free implementation of the unicode bidirectional algorithm" |
33 |
HOMEPAGE="https://fribidi.org/" |
34 |
@@ -21,6 +21,12 @@ BDEPEND=" |
35 |
|
36 |
DOCS=( AUTHORS NEWS ChangeLog THANKS ) # README points at README.md which wasn't disted with EAPI-7 |
37 |
|
38 |
+src_prepare() { |
39 |
+ default |
40 |
+ |
41 |
+ export CC_FOR_BUILD="$(tc-getBUILD_CC)" |
42 |
+} |
43 |
+ |
44 |
multilib_src_configure() { |
45 |
local myeconfargs=( |
46 |
--enable-shared |