1 |
commit: 5616849ce34415ec14aba0cf15e1db6c68478323 |
2 |
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name> |
3 |
AuthorDate: Fri Jul 22 16:15:52 2016 +0000 |
4 |
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jul 29 20:09:04 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5616849c |
7 |
|
8 |
dev-lang/mono: multilib support |
9 |
|
10 |
dev-lang/mono/mono-4.4.1.0.ebuild | 17 +++++++---------- |
11 |
1 file changed, 7 insertions(+), 10 deletions(-) |
12 |
|
13 |
diff --git a/dev-lang/mono/mono-4.4.1.0.ebuild b/dev-lang/mono/mono-4.4.1.0.ebuild |
14 |
index fb97c33..cf1b29b 100644 |
15 |
--- a/dev-lang/mono/mono-4.4.1.0.ebuild |
16 |
+++ b/dev-lang/mono/mono-4.4.1.0.ebuild |
17 |
@@ -4,7 +4,7 @@ |
18 |
|
19 |
EAPI=6 |
20 |
|
21 |
-inherit eutils linux-info mono-env flag-o-matic pax-utils versionator |
22 |
+inherit eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal |
23 |
|
24 |
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
25 |
HOMEPAGE="http://www.mono-project.com/Main_Page" |
26 |
@@ -80,11 +80,12 @@ src_prepare() { |
27 |
#epatch "${FILESDIR}/fix-for-GitExtensions-issue-2710-another-resolution.patch" |
28 |
#epatch "${FILESDIR}/fix-for-bug36724.patch" |
29 |
|
30 |
- default_src_prepare |
31 |
+ default |
32 |
#eapply_user |
33 |
+ multilib_copy_sources |
34 |
} |
35 |
|
36 |
-src_configure() { |
37 |
+multilib_src_configure() { |
38 |
local myeconfargs=( |
39 |
--disable-silent-rules |
40 |
$(use_with xen xen_opt) |
41 |
@@ -94,19 +95,15 @@ src_configure() { |
42 |
$(use_enable nls) |
43 |
) |
44 |
|
45 |
- default_src_configure |
46 |
+ econf "${myeconfargs[@]}" |
47 |
} |
48 |
|
49 |
-src_compile() { |
50 |
- default_src_compile |
51 |
-} |
52 |
- |
53 |
-src_test() { |
54 |
+multilib_src_test() { |
55 |
cd mcs/tests || die |
56 |
emake check |
57 |
} |
58 |
|
59 |
-src_install() { |
60 |
+multilib_src_install() { |
61 |
default_src_install |
62 |
|
63 |
# Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora |