aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeather <Heather@live.ru>2015-12-01 14:23:13 +0400
committerHeather <Heather@live.ru>2015-12-01 14:23:32 +0400
commita27563c1ae4ad23283de1440b592d47acbcb0bfb (patch)
tree4d1870da272e7f461561b026f59628ad62febf61 /dev-lang/mono
parentUpdate .travis.yml (diff)
downloaddotnet-a27563c1ae4ad23283de1440b592d47acbcb0bfb.tar.gz
dotnet-a27563c1ae4ad23283de1440b592d47acbcb0bfb.tar.bz2
dotnet-a27563c1ae4ad23283de1440b592d47acbcb0bfb.zip
dev-lang/mono: bump
Diffstat (limited to 'dev-lang/mono')
-rw-r--r--dev-lang/mono/Manifest1
-rw-r--r--dev-lang/mono/mono-4.2.1.102.ebuild113
2 files changed, 114 insertions, 0 deletions
diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest
index d129b6a..781b2fa 100644
--- a/dev-lang/mono/Manifest
+++ b/dev-lang/mono/Manifest
@@ -3,5 +3,6 @@ DIST mono-3.12.1.tar.bz2 73487974 SHA256 5d8cf153af2948c06bc9fbf5088f6834868e4db
DIST mono-4.0.2.5.tar.bz2 96051374 SHA256 b074584eea5bbaaf29362486a69d70abe53d0d2feb334f231fa9c841cf6fd651 SHA512 15fdd1af1fc3eddf31c77ff2ded9fcc546d15fbe2417215bcdfb9eaf9b7c6a30f9736385f3ac936caf2fe43c7921972a6777ff332b8a99d81877800e489a3ad0 WHIRLPOOL 7a3aea950380d07b826b7f52b131f76535b196d7f94a3e7ac4c0d18db188883f2fa3ddb51443cade7974f2ce4eb3fd84bda8dde422af6ff7a839d3c305c746ba
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.102.tar.bz2 96228604 SHA256 b7b461fe04375f621d88166ba8c6f1cb33c439fd3e17136460f7d087a51ed792 SHA512 ffc6bee387b5e46a22e74600a5e5c0c7953b63b4d2392586a7cce9e1d0f6eeaa81ba5b6abaf911870913e3749ff577474931a2c1ce16cab9a41a3b3dd745638e WHIRLPOOL eb605bbdfd411e181706ff3728cd1690385e1e899a11a41872bc015eca2d5ee1c3f46b24d7c3956eb0818aa0a3944d533f6f531ed8815c7b0988f130b592feb1
DIST mono-4.2.1.36.tar.bz2 78358075 SHA256 ef9f2d7422c6f0833b7ab336d482d2aa65c97f8589d3ec0c28793f9c9e6758cb SHA512 a747febeaa688723a191dceae7abcd806ff6da9f3d34537ecb61527887d14b9cf8c9cff6b4bf401604fb7c738c544affd109e4af4a2b934fc87cb8ae36db8f7d WHIRLPOOL 6c29af05bc3ade507b30fa7b2a477ee1b1ef2c13f59f01d52ea4069c4c3f4d050aeeb50e9fb93e90f52b36ec2d56821b0e73ec65ec87d7fdd895dfbfc69f3a1f
DIST mono-4.2.1.91.tar.bz2 78402872 SHA256 ef8b4cb4d0ccce59d91344b0faf6724997b0bb442d2b25737719580d9543c44c SHA512 1ecdc17b19a8691b3dc3c0bf52c8da5571e70bc49fd8409968491b8add442e74737507befcc44cc60eb76f9269813debe477fb36f178cba859b4de78e490db91 WHIRLPOOL b6b628860a00c3831785ecd4177f8829bb41201cd498774721848a2e15aad982244ec97d41bbbc98369666eefb1f480f05b991e846ecf3e01674e845d7b85a0b
diff --git a/dev-lang/mono/mono-4.2.1.102.ebuild b/dev-lang/mono/mono-4.2.1.102.ebuild
new file mode 100644
index 0000000..db52e5c
--- /dev/null
+++ b/dev-lang/mono/mono-4.2.1.102.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
+}