commit:     d7b186250b9c9173907974603885d48b00a65576
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 29 19:21:07 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 29 20:14:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7b18625

dev-lang/mono: fix multilib non-native install by disabling AOT

Closes: https://bugs.gentoo.org/779025
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/mono/mono-6.12.0.122.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-lang/mono/mono-6.12.0.122.ebuild 
b/dev-lang/mono/mono-6.12.0.122.ebuild
index 2e2781d0640..5c928b7089e 100644
--- a/dev-lang/mono/mono-6.12.0.122.ebuild
+++ b/dev-lang/mono/mono-6.12.0.122.ebuild
@@ -90,6 +90,14 @@ multilib_src_configure() {
                $(use_enable nls)
        )
 
+       # Workaround(?) for bug #779025
+       # May be able to do a real fix by adjusting path used?
+       if multilib_is_native_abi ; then
+               myeconfargs+=( --enable-system-aot )
+       else
+               myeconfargs+=( --disable-system-aot )
+       fi
+
        econf "${myeconfargs[@]}"
 }
 

Reply via email to