commit: fbf3297913183d19c8d1105d6408590d3bf54ded Author: Heather Cynede <cynede <AT> gentoo <DOT> org> AuthorDate: Sun Aug 16 07:59:19 2015 +0000 Commit: Heather Cynede <cynede <AT> gentoo <DOT> org> CommitDate: Sun Aug 16 07:59:19 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf32979
dev-lang/mono repair multilib-strict : Bug 554704 Package-Manager: portage-2.2.20.1 dev-lang/mono/mono-3.12.1.ebuild | 10 ++++++++++ dev-lang/mono/mono-4.0.3.20.ebuild | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/dev-lang/mono/mono-3.12.1.ebuild b/dev-lang/mono/mono-3.12.1.ebuild index 1952ade..51416a4 100644 --- a/dev-lang/mono/mono-3.12.1.ebuild +++ b/dev-lang/mono/mono-3.12.1.ebuild @@ -115,3 +115,13 @@ src_test() { cd mcs/tests || die emake check } + +src_install() { + autotools-utils_src_install + + # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora + # mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html + # for reference. + rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die + rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die +} diff --git a/dev-lang/mono/mono-4.0.3.20.ebuild b/dev-lang/mono/mono-4.0.3.20.ebuild index 526b34b..0884626 100644 --- a/dev-lang/mono/mono-4.0.3.20.ebuild +++ b/dev-lang/mono/mono-4.0.3.20.ebuild @@ -104,3 +104,13 @@ src_test() { cd mcs/tests || die emake check } + +src_install() { + autotools-utils_src_install + + # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora + # mono.spec and http://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html + # for reference. + rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die + rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die +}