1 |
commit: 6d9b63cc677d29079eff7ed21c839cce6f2c7662 |
2 |
Author: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 2 10:04:14 2016 +0000 |
4 |
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 2 10:04:14 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/dotnet.git/commit/?id=6d9b63cc |
7 |
|
8 |
remove nightly mono |
9 |
|
10 |
dev-lang/mono/mono-4.9.0.729-r2.ebuild | 121 --------------------------------- |
11 |
1 file changed, 121 deletions(-) |
12 |
|
13 |
diff --git a/dev-lang/mono/mono-4.9.0.729-r2.ebuild b/dev-lang/mono/mono-4.9.0.729-r2.ebuild |
14 |
deleted file mode 100644 |
15 |
index 482dedb..0000000 |
16 |
--- a/dev-lang/mono/mono-4.9.0.729-r2.ebuild |
17 |
+++ /dev/null |
18 |
@@ -1,121 +0,0 @@ |
19 |
-# Copyright 1999-2016 Gentoo Foundation |
20 |
-# Distributed under the terms of the GNU General Public License v2 |
21 |
-# $Id$ |
22 |
- |
23 |
-EAPI=6 |
24 |
- |
25 |
-inherit eutils linux-info mono-env flag-o-matic pax-utils versionator multilib-minimal |
26 |
- |
27 |
-DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
28 |
-HOMEPAGE="http://www.mono-project.com/Main_Page" |
29 |
-SRC_URI="http://download.mono-project.com/sources/${PN}/nightly/${P}.tar.bz2" |
30 |
- |
31 |
-LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception IDPL" |
32 |
-SLOT="0" |
33 |
- |
34 |
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux" |
35 |
- |
36 |
-IUSE="nls minimal pax_kernel xen doc" |
37 |
- |
38 |
-COMMONDEPEND=" |
39 |
- !minimal? ( >=dev-dotnet/libgdiplus-2.10 ) |
40 |
- ia64? ( sys-libs/libunwind ) |
41 |
- nls? ( sys-devel/gettext ) |
42 |
-" |
43 |
-RDEPEND="${COMMONDEPEND} |
44 |
- || ( www-client/links www-client/lynx ) |
45 |
-" |
46 |
-DEPEND="${COMMONDEPEND} |
47 |
- sys-devel/bc |
48 |
- virtual/yacc |
49 |
- pax_kernel? ( sys-apps/elfix ) |
50 |
- !dev-lang/mono-basic |
51 |
-" |
52 |
- |
53 |
-S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" |
54 |
- |
55 |
-pkg_pretend() { |
56 |
- # https://github.com/gentoo/gentoo/blob/f200e625bda8de696a28338318c9005b69e34710/eclass/linux-info.eclass#L686 |
57 |
- # If CONFIG_SYSVIPC is not set in your kernel .config, mono will hang while compiling. |
58 |
- # See http://bugs.gentoo.org/261869 for more info." |
59 |
- CONFIG_CHECK="SYSVIPC" |
60 |
- use kernel_linux && check_extra_config |
61 |
-} |
62 |
- |
63 |
-multilib_src_install_all() { |
64 |
- insinto "/" |
65 |
- doins "${S}/mcs/class/mono.snk" |
66 |
-} |
67 |
- |
68 |
-pkg_preinst() { |
69 |
- einfo D="${D}" |
70 |
- MONO_EXECUTABLE="${WORKDIR}/mono-4.9.0-abi_x86_32.x86/mono/mini/mono-sgen" |
71 |
- if [ ! -f "${MONO_EXECUTABLE}" ]; then |
72 |
- die "${MONO_EXECUTABLE}, MONO_EXECUTABLE is missing" |
73 |
- fi |
74 |
- SN_ASSEMBLY="${WORKDIR}/mono-4.9.0-abi_x86_32.x86/mcs/tools/security/sn.exe" |
75 |
- if [ ! -f "${SN_ASSEMBLY}" ]; then |
76 |
- die "${SN_ASSEMBLY}, SN_ASSEMBLY is missing" |
77 |
- fi |
78 |
- SNK_FILE="${D}/mono.snk" |
79 |
- if [ ! -f "${SNK_FILE}" ]; then |
80 |
- die "${SNK_FILE}, SNK_FILE is missing" |
81 |
- fi |
82 |
- "${MONO_EXECUTABLE}" "${SN_ASSEMBLY}" -i "${SNK_FILE}" "mono" || die |
83 |
- rm "${SNK_FILE}" || die |
84 |
-} |
85 |
- |
86 |
-pkg_setup() { |
87 |
- linux-info_pkg_setup |
88 |
- mono-env_pkg_setup |
89 |
-} |
90 |
- |
91 |
-src_prepare() { |
92 |
- # we need to sed in the paxctl-ng -mr in the runtime/mono-wrapper.in so it don't |
93 |
- # get killed in the build proces when MPROTECT is enable. #286280 |
94 |
- # RANDMMAP kill the build proces to #347365 |
95 |
- # use paxmark.sh to get PT/XT logic #532244 |
96 |
- if use pax_kernel ; then |
97 |
- ewarn "We are disabling MPROTECT on the mono binary." |
98 |
- |
99 |
- # issue 9 : https://github.com/Heather/gentoo-dotnet/issues/9 |
100 |
- sed '/exec "/ i\paxmark.sh -mr "$r/@mono_runtime@"' -i "${S}"/runtime/mono-wrapper.in || die "Failed to sed mono-wrapper.in" |
101 |
- fi |
102 |
- |
103 |
- # mono build system can fail otherwise |
104 |
- strip-flags |
105 |
- |
106 |
- eapply "${FILESDIR}/autofac.patch" |
107 |
- |
108 |
- default |
109 |
- #eapply_user |
110 |
- multilib_copy_sources |
111 |
-} |
112 |
- |
113 |
-multilib_src_configure() { |
114 |
- local myeconfargs=( |
115 |
- --disable-silent-rules |
116 |
- $(use_with xen xen_opt) |
117 |
- --without-ikvm-native |
118 |
- --disable-dtrace |
119 |
- $(use_with doc mcs-docs) |
120 |
- $(use_enable nls) |
121 |
- ) |
122 |
- |
123 |
- econf "${myeconfargs[@]}" |
124 |
-} |
125 |
- |
126 |
-multilib_src_test() { |
127 |
- cd mcs/tests || die |
128 |
- emake check |
129 |
-} |
130 |
- |
131 |
-multilib_src_install() { |
132 |
- default_src_install |
133 |
- |
134 |
- # Remove files not respecting LDFLAGS and that we are not supposed to provide, see Fedora |
135 |
- # mono.spec and http://www.mail-archive.com/mono-devel-list@××××××××××××.com/msg24870.html |
136 |
- # for reference. |
137 |
- rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mscorlib.dll.so || die |
138 |
- rm -f "${ED}"/usr/lib/mono/{2.0,4.5}/mcs.exe.so || die |
139 |
-} |