commit: bee6c31e2c7e7c004e74686de2a17450d3895797 Author: Ron MacNeil <macro <AT> hotmail <DOT> com> AuthorDate: Sat Aug 1 10:04:56 2015 +0000 Commit: Heather Cynede <cynede <AT> gentoo <DOT> org> CommitDate: Sat Aug 1 11:20:24 2015 +0000 URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=bee6c31e
mono-4.0.2.5: Add patch to fix build --without-sgen ...0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch | 15 +++++++++++++++ dev-lang/mono/mono-4.0.2.5.ebuild | 5 +++++ 2 files changed, 20 insertions(+) diff --git a/dev-lang/mono/files/mono-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch b/dev-lang/mono/files/mono-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch new file mode 100644 index 0000000..bbf4c6f --- /dev/null +++ b/dev-lang/mono/files/mono-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch @@ -0,0 +1,15 @@ +=================================================================== +RCS file: mono/dis/RCS/Makefile.am,v +retrieving revision 1.1 +diff -up -r1.1 mono/dis/Makefile.am +--- mono/dis/Makefile.am 2015/05/08 15:00:22 1.1 ++++ mono/dis/Makefile.am 2015/07/14 11:20:29 +@@ -7,7 +7,7 @@ endif + if SUPPORT_SGEN + metadata_lib=$(top_builddir)/mono/metadata/libmonoruntimesgen-static.la + else +-metadata_lib=$(top_builddir)/mono/metadata/libmonoruntime-static.a ++metadata_lib=$(top_builddir)/mono/metadata/libmonoruntime-static.la + gc_lib=$(LIBGC_STATIC_LIBS) + endif + diff --git a/dev-lang/mono/mono-4.0.2.5.ebuild b/dev-lang/mono/mono-4.0.2.5.ebuild index 3257f07..22c6348 100644 --- a/dev-lang/mono/mono-4.0.2.5.ebuild +++ b/dev-lang/mono/mono-4.0.2.5.ebuild @@ -4,6 +4,7 @@ EAPI=5 AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" +AUTOTOOLS_AUTORECONF=1 inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils @@ -71,6 +72,10 @@ src_prepare() { # https://bugzilla.xamarin.com/show_bug.cgi?id=31779 epatch "${FILESDIR}/${P}-fix-decimal-ms-on-big-endian.patch" + # Fix build --without-sgen + # https://bugzilla.xamarin.com/show_bug.cgi?id=32015 + epatch "${FILESDIR}/${P}-fix-mono-dis-makefile-am-when-without-sgen.patch" + autotools-utils_src_prepare epatch "${FILESDIR}/systemweb3.patch" }