aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeather <Heather@live.ru>2015-10-13 15:19:53 +0400
committerHeather <Heather@live.ru>2015-10-13 15:19:53 +0400
commit2d5881b282ec67ffdd01429ddfac75e1e39e37fe (patch)
treedbac87da91f7d16b5b656f03bedd2b6053f9240d /dev-lang/mono
parentUpdate readme.md (diff)
downloaddotnet-2d5881b282ec67ffdd01429ddfac75e1e39e37fe.tar.gz
dotnet-2d5881b282ec67ffdd01429ddfac75e1e39e37fe.tar.bz2
dotnet-2d5881b282ec67ffdd01429ddfac75e1e39e37fe.zip
bump mono
Diffstat (limited to 'dev-lang/mono')
-rw-r--r--dev-lang/mono/Manifest1
-rw-r--r--dev-lang/mono/mono-4.2.1.60.ebuild113
2 files changed, 114 insertions, 0 deletions
diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest
index 40133f0..22ad75c 100644
--- a/dev-lang/mono/Manifest
+++ b/dev-lang/mono/Manifest
@@ -4,3 +4,4 @@ DIST mono-4.0.2.5.tar.bz2 96051374 SHA256 b074584eea5bbaaf29362486a69d70abe53d0d
DIST mono-4.0.3.20.tar.bz2 95987018 SHA256 976c0be3ab9b66361f48e8133c60b1b2942b88c44a7a11a19cd98f5ff64313fc SHA512 bbf65abb4d91aa65fd467a59dcc7c290f779ab9f8df9d82b56957893556ad8d13dc3cc85f3128145e0dd15aaa8b0ea872c4b66af4fd211243d368514f10a07cd WHIRLPOOL 9e7730c234dbf34a81637789a3ffee4ce37a1eaef6748f28a79875411d3c1d97cfbdce6146abfa7dde245e821fe52b2766bb7240637a8b8272788dffc5fd21ae
DIST mono-4.2.0.179.tar.bz2 78588591 SHA256 fc53c825b8f1e83eaa52a681410261a5b0ac47d36ffd2b58581c476c2690933f SHA512 c82ae3374db76264add396ed820456ba8e08c55be097a4de26e20283cede0057149a1350b4af86cb814cbb69b0817e7025f50dfc044b32a6de1a2d94fe8be630 WHIRLPOOL c645171c61975ffdf116a5dc88c037ea924f1d5bed5622376e875843be8e889a56c45cbf7a4cf42ef4ff7cd06c2dd778cbae1590202de5f2e15bb0d4f78db7a5
DIST mono-4.2.1.36.tar.bz2 78358075 SHA256 ef9f2d7422c6f0833b7ab336d482d2aa65c97f8589d3ec0c28793f9c9e6758cb SHA512 a747febeaa688723a191dceae7abcd806ff6da9f3d34537ecb61527887d14b9cf8c9cff6b4bf401604fb7c738c544affd109e4af4a2b934fc87cb8ae36db8f7d WHIRLPOOL 6c29af05bc3ade507b30fa7b2a477ee1b1ef2c13f59f01d52ea4069c4c3f4d050aeeb50e9fb93e90f52b36ec2d56821b0e73ec65ec87d7fdd895dfbfc69f3a1f
+DIST mono-4.2.1.60.tar.bz2 78403205 SHA256 5d8783bb4ea20f2223c19a40f7965a4d883a55f73327d8e44a5d221840a8d287 SHA512 ff7663fdc45ceffebfa3774e09d7a463312b777644ecc4abbb8965daa84baf1a9bbe813de035d1bd78c5df91edc09d22d32bd9132a176a30a2281b0239617082 WHIRLPOOL fc7a6badf65cb051202f318c69240e9052c65c9275854defc002392a6ccf45c0e918ca1f83aa12d5fdef754915fb7c57db3745be23c15c620faac97a00c29b8a
diff --git a/dev-lang/mono/mono-4.2.1.60.ebuild b/dev-lang/mono/mono-4.2.1.60.ebuild
new file mode 100644
index 0000000..db52e5c
--- /dev/null
+++ b/dev-lang/mono/mono-4.2.1.60.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
+AUTOTOOLS_AUTORECONF=1
+
+inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils versionator
+
+DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
+HOMEPAGE="http://www.mono-project.com/Main_Page"
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2"
+
+LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL"
+SLOT="0"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux"
+
+IUSE="nls minimal pax_kernel xen doc"
+
+COMMONDEPEND="
+ !minimal? ( >=dev-dotnet/libgdiplus-2.10 )
+ ia64? ( sys-libs/libunwind )
+ nls? ( sys-devel/gettext )
+"
+RDEPEND="${COMMONDEPEND}
+ || ( www-client/links www-client/lynx )
+"
+DEPEND="${COMMONDEPEND}
+ sys-devel/bc
+ virtual/yacc
+ pax_kernel? ( sys-apps/elfix )
+ !dev-lang/mono-basic
+"
+
+MAKEOPTS="${MAKEOPTS} -j1" #nowarn
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)"
+
+pkg_pretend() {
+ # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling.
+ # See http://bugs.gentoo.org/261869 for more info."
+ CONFIG_CHECK="SYSVIPC"
+ use kernel_linux && check_extra_config
+}
+
+pkg_setup() {
+ linux-info_pkg_setup
+ mono-env_pkg_setup
+}
+
+src_prepare() {
+ # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't
+ # get killed in the build proces when MPROTEC is enable. #286280
+ # RANDMMAP kill the build proces to #347365
+ if use pax_kernel ; then
+ ewarn "We are disabling MPROTECT on the mono binary."
+
+ # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9
+ sed '/exec "/ i\paxctl-ng -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in"
+ fi
+
+ # mono build system can fail otherwise
+ strip-flags
+
+ # Fix VB targets
+ # http://osdir.com/ml/general/2015-05/msg20808.html
+ epatch "${FILESDIR}/add_missing_vb_portable_targets.patch"
+
+ # Fix build when sgen disabled
+ # https://bugzilla.xamarin.com/show_bug.cgi?id=32015
+ epatch "${FILESDIR}/${PN}-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch"
+
+ # Fix atomic_add_i4 support for 32-bit ppc
+ # https://github.com/mono/mono/compare/f967c79926900343f399c75624deedaba460e544^...8f379f0c8f98493180b508b9e68b9aa76c0c5bdf
+ epatch "${FILESDIR}/${PN}-4.0.2.5-fix-ppc-atomic-add-i4.patch"
+
+ autotools-utils_src_prepare
+
+ epatch "${FILESDIR}/systemweb3.patch"
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-silent-rules
+ $(use_with xen xen_opt)
+ --without-ikvm-native
+ --disable-dtrace
+ $(use_with doc mcs-docs)
+ $(use_enable nls)
+ )
+
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ autotools-utils_src_compile
+}
+
+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
+}