1 |
commit: c593dd57ed93d2dcdee3affeab908a423f683ebd |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 25 22:37:07 2015 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 25 22:37:07 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c593dd57 |
7 |
|
8 |
dev-lang/mono: Version bump to 4.0.5.1 |
9 |
|
10 |
Gentoo-Bug: #563028 |
11 |
|
12 |
Package-Manager: portage-2.2.26 |
13 |
|
14 |
dev-lang/mono/Manifest | 1 + |
15 |
dev-lang/mono/mono-4.0.5.1.ebuild | 118 ++++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 119 insertions(+) |
17 |
|
18 |
diff --git a/dev-lang/mono/Manifest b/dev-lang/mono/Manifest |
19 |
index eeb4e09..8f07bd3 100644 |
20 |
--- a/dev-lang/mono/Manifest |
21 |
+++ b/dev-lang/mono/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST mono-2.10.9.tar.bz2 34038017 SHA256 541038cd4edd4a1c485638d49697d45015ef7483bcb21bb6165e4d7eb770c9a5 SHA512 426881873e7f9aaf01e1306bed7b3ac220082ca40dce91fa4f4f331944e8d91453b3cdcc4918882ab039ed694ae8819eeb787edf6a2ad42cc661614076725c01 WHIRLPOOL 93f54fbbf032fb60467fd4317630588d349c3dfb50158bad478bd3e2650fd3e8f12d45be372873b57626d4ac48f798646c3650590bbf731dc2f005ee618b8548 |
24 |
DIST mono-3.12.1.tar.bz2 73487974 SHA256 5d8cf153af2948c06bc9fbf5088f6834868e4db8e5f41c7cff76da173732b60d SHA512 7ff87d95c347186347dc7a9ffb767112717de2b808f8f1b612c56c9eb70fdcc0c8f586989be44444509a2768e71854d8195567196c992cc2c5b184ecbe5ac190 WHIRLPOOL fe3a6cdb8bf4602ad1d1e43099b2a552005c315a232a7d2bddf0081a68e882228712af5301f18d3a890f454041c4a34d6f0926aaba34401ecfa702eecd9415c8 |
25 |
DIST mono-4.0.3.20.tar.bz2 95987018 SHA256 976c0be3ab9b66361f48e8133c60b1b2942b88c44a7a11a19cd98f5ff64313fc SHA512 bbf65abb4d91aa65fd467a59dcc7c290f779ab9f8df9d82b56957893556ad8d13dc3cc85f3128145e0dd15aaa8b0ea872c4b66af4fd211243d368514f10a07cd WHIRLPOOL 9e7730c234dbf34a81637789a3ffee4ce37a1eaef6748f28a79875411d3c1d97cfbdce6146abfa7dde245e821fe52b2766bb7240637a8b8272788dffc5fd21ae |
26 |
+DIST mono-4.0.5.1.tar.bz2 96533206 SHA256 c2f42944dded3196c6449f90e79990f1951070a361a0dcc2350fc56e945bc229 SHA512 c0783f7b2e344ca00ea354d2723821636a2594345f7e1fd93bf84e9ba1b5501848d4f49b1538279aac9f6f333d296394322e08a9749fe2208340104aa594cd09 WHIRLPOOL ae9b0758c019003fc9ecdbd051974d547c59c24a4505e71c1fc7db8095bc98cdb486405e2ba1794bfb34ecc6bebeb8b5165a97ba8f596897887eb7f2da806b89 |
27 |
|
28 |
diff --git a/dev-lang/mono/mono-4.0.5.1.ebuild b/dev-lang/mono/mono-4.0.5.1.ebuild |
29 |
new file mode 100644 |
30 |
index 0000000..2675538 |
31 |
--- /dev/null |
32 |
+++ b/dev-lang/mono/mono-4.0.5.1.ebuild |
33 |
@@ -0,0 +1,118 @@ |
34 |
+# Copyright 1999-2015 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+# $Id$ |
37 |
+ |
38 |
+EAPI=5 |
39 |
+AUTOTOOLS_PRUNE_LIBTOOL_FILES="all" |
40 |
+AUTOTOOLS_AUTORECONF=1 |
41 |
+ |
42 |
+inherit eutils linux-info mono-env flag-o-matic pax-utils autotools-utils versionator |
43 |
+ |
44 |
+DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
45 |
+HOMEPAGE="http://www.mono-project.com/Main_Page" |
46 |
+SRC_URI="http://download.mono-project.com/sources/${PN}/${P}.tar.bz2" |
47 |
+ |
48 |
+LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" |
49 |
+SLOT="0" |
50 |
+ |
51 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
52 |
+ |
53 |
+IUSE="nls minimal pax_kernel xen doc" |
54 |
+ |
55 |
+COMMONDEPEND=" |
56 |
+ !minimal? ( >=dev-dotnet/libgdiplus-2.10 ) |
57 |
+ ia64? ( sys-libs/libunwind ) |
58 |
+ nls? ( sys-devel/gettext ) |
59 |
+" |
60 |
+RDEPEND="${COMMONDEPEND} |
61 |
+ || ( www-client/links www-client/lynx ) |
62 |
+" |
63 |
+DEPEND="${COMMONDEPEND} |
64 |
+ sys-devel/bc |
65 |
+ virtual/yacc |
66 |
+ pax_kernel? ( sys-apps/elfix ) |
67 |
+ !dev-lang/mono-basic |
68 |
+" |
69 |
+ |
70 |
+MAKEOPTS="${MAKEOPTS} -j1" #nowarn |
71 |
+S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" |
72 |
+ |
73 |
+pkg_pretend() { |
74 |
+ # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling. |
75 |
+ # See https://bugs.gentoo.org/261869 for more info." |
76 |
+ CONFIG_CHECK="SYSVIPC" |
77 |
+ use kernel_linux && check_extra_config |
78 |
+} |
79 |
+ |
80 |
+pkg_setup() { |
81 |
+ linux-info_pkg_setup |
82 |
+ mono-env_pkg_setup |
83 |
+} |
84 |
+ |
85 |
+src_prepare() { |
86 |
+ # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't |
87 |
+ # get killed in the build proces when MPROTECT is enable. #286280 |
88 |
+ # RANDMMAP kill the build proces to #347365 |
89 |
+ # use paxmark.sh to get PT/XT logic #532244 |
90 |
+ if use pax_kernel ; then |
91 |
+ ewarn "We are disabling MPROTECT on the mono binary." |
92 |
+ |
93 |
+ # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9 |
94 |
+ sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" |
95 |
+ fi |
96 |
+ |
97 |
+ # mono build system can fail otherwise |
98 |
+ strip-flags |
99 |
+ |
100 |
+ # Fix VB targets |
101 |
+ # http://osdir.com/ml/general/2015-05/msg20808.html |
102 |
+ epatch "${FILESDIR}/add_missing_vb_portable_targets.patch" |
103 |
+ |
104 |
+ # Fix build on big-endian machines |
105 |
+ # https://bugzilla.xamarin.com/show_bug.cgi?id=31779 |
106 |
+ epatch "${FILESDIR}/${PN}-4.0.2.5-fix-decimal-ms-on-big-endian.patch" |
107 |
+ |
108 |
+ # Fix build when sgen disabled |
109 |
+ # https://bugzilla.xamarin.com/show_bug.cgi?id=32015 |
110 |
+ epatch "${FILESDIR}/${PN}-4.0.2.5-fix-mono-dis-makefile-am-when-without-sgen.patch" |
111 |
+ |
112 |
+ # Fix atomic_add_i4 support for 32-bit ppc |
113 |
+ # https://github.com/mono/mono/compare/f967c79926900343f399c75624deedaba460e544^...8f379f0c8f98493180b508b9e68b9aa76c0c5bdf |
114 |
+ epatch "${FILESDIR}/${PN}-4.0.2.5-fix-ppc-atomic-add-i4.patch" |
115 |
+ |
116 |
+ autotools-utils_src_prepare |
117 |
+ |
118 |
+ epatch "${FILESDIR}/systemweb3.patch" |
119 |
+} |
120 |
+ |
121 |
+src_configure() { |
122 |
+ local myeconfargs=( |
123 |
+ --disable-silent-rules |
124 |
+ $(use_with xen xen_opt) |
125 |
+ --without-ikvm-native |
126 |
+ --disable-dtrace |
127 |
+ $(use_with doc mcs-docs) |
128 |
+ $(use_enable nls) |
129 |
+ ) |
130 |
+ |
131 |
+ autotools-utils_src_configure |
132 |
+} |
133 |
+ |
134 |
+src_compile() { |
135 |
+ autotools-utils_src_compile |
136 |
+} |
137 |
+ |
138 |
+src_test() { |
139 |
+ cd mcs/tests || die |
140 |
+ emake check |
141 |
+} |
142 |
+ |
143 |
+src_install() { |
144 |
+ autotools-utils_src_install |
145 |
+ |
146 |
+ # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora |
147 |
+ # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html |
148 |
+ # for reference. |
149 |
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die |
150 |
+ rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die |
151 |
+} |