1 |
commit: d7b186250b9c9173907974603885d48b00a65576 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Mar 29 19:21:07 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Mar 29 20:14:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b18625 |
7 |
|
8 |
dev-lang/mono: fix multilib non-native install by disabling AOT |
9 |
|
10 |
Closes: https://bugs.gentoo.org/779025 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
dev-lang/mono/mono-6.12.0.122.ebuild | 8 ++++++++ |
14 |
1 file changed, 8 insertions(+) |
15 |
|
16 |
diff --git a/dev-lang/mono/mono-6.12.0.122.ebuild b/dev-lang/mono/mono-6.12.0.122.ebuild |
17 |
index 2e2781d0640..5c928b7089e 100644 |
18 |
--- a/dev-lang/mono/mono-6.12.0.122.ebuild |
19 |
+++ b/dev-lang/mono/mono-6.12.0.122.ebuild |
20 |
@@ -90,6 +90,14 @@ multilib_src_configure() { |
21 |
$(use_enable nls) |
22 |
) |
23 |
|
24 |
+ # Workaround(?) for bug #779025 |
25 |
+ # May be able to do a real fix by adjusting path used? |
26 |
+ if multilib_is_native_abi ; then |
27 |
+ myeconfargs+=( --enable-system-aot ) |
28 |
+ else |
29 |
+ myeconfargs+=( --disable-system-aot ) |
30 |
+ fi |
31 |
+ |
32 |
econf "${myeconfargs[@]}" |
33 |
} |