aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeather <Heather@live.ru>2015-09-30 16:19:13 +0400
committerHeather <Heather@live.ru>2015-09-30 16:19:13 +0400
commita4ccbda120c1251a876779b7c001a34a5230d5b2 (patch)
tree52ae1c09481a85e6c023457f7f977983b0303ee0 /dev-lang/mono
parentMerge pull request #127 from ArsenShnurkov/mono-packaging-tools (diff)
downloaddotnet-a4ccbda120c1251a876779b7c001a34a5230d5b2.tar.gz
dotnet-a4ccbda120c1251a876779b7c001a34a5230d5b2.tar.bz2
dotnet-a4ccbda120c1251a876779b7c001a34a5230d5b2.zip
mono-4.2.1.36
Diffstat (limited to 'dev-lang/mono')
-rw-r--r--dev-lang/mono/Manifest1
-rw-r--r--dev-lang/mono/mono-4.2.1.36.ebuild118
2 files changed, 119 insertions, 0 deletions
diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest
index 8745bfc..40133f0 100644
--- a/dev-lang/mono/Manifest
+++ b/dev-lang/mono/Manifest
@@ -3,3 +3,4 @@ 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.36.tar.bz2 78358075 SHA256 ef9f2d7422c6f0833b7ab336d482d2aa65c97f8589d3ec0c28793f9c9e6758cb SHA512 a747febeaa688723a191dceae7abcd806ff6da9f3d34537ecb61527887d14b9cf8c9cff6b4bf401604fb7c738c544affd109e4af4a2b934fc87cb8ae36db8f7d WHIRLPOOL 6c29af05bc3ade507b30fa7b2a477ee1b1ef2c13f59f01d52ea4069c4c3f4d050aeeb50e9fb93e90f52b36ec2d56821b0e73ec65ec87d7fdd895dfbfc69f3a1f
diff --git a/dev-lang/mono/mono-4.2.1.36.ebuild b/dev-lang/mono/mono-4.2.1.36.ebuild
new file mode 100644
index 0000000..a43cefb
--- /dev/null
+++ b/dev-lang/mono/mono-4.2.1.36.ebuild
@@ -0,0 +1,118 @@
+# 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 on big-endian machines
+ # https://bugzilla.xamarin.com/show_bug.cgi?id=31779
+ # epatch "${FILESDIR}/${PN}-4.0.2.5-fix-decimal-ms-on-big-endian.patch"
+ # * Failed Patch: mono-4.0.2.5-fix-decimal-ms-on-big-endian.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
+}