1 |
compnerd 08/03/02 06:57:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mono-1.2.6-r2.ebuild |
5 |
Log: |
6 |
revbump for bug #210429 |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.134 dev-lang/mono/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.134&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.134&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?r1=1.133&r2=1.134 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v |
19 |
retrieving revision 1.133 |
20 |
retrieving revision 1.134 |
21 |
diff -u -r1.133 -r1.134 |
22 |
--- ChangeLog 2 Jan 2008 06:13:22 -0000 1.133 |
23 |
+++ ChangeLog 2 Mar 2008 06:57:23 -0000 1.134 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for dev-lang/mono |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.133 2008/01/02 06:13:22 jurek Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.134 2008/03/02 06:57:23 compnerd Exp $ |
29 |
+ |
30 |
+*mono-1.2.6-r2 (02 Mar 2008) |
31 |
+ |
32 |
+ 02 Mar 2008; Saleem Abdulrasool <compnerd@g.o> |
33 |
+ +files/mono-1.2.6-bug-347359.patch, +mono-1.2.6-r2.ebuild: |
34 |
+ Revbump with a minor patch from svn for bug #210429 |
35 |
|
36 |
*mono-1.2.6-r1 (02 Jan 2008) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 dev-lang/mono/mono-1.2.6-r2.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-1.2.6-r2.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-1.2.6-r2.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: mono-1.2.6-r2.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.2.6-r2.ebuild,v 1.1 2008/03/02 06:57:23 compnerd Exp $ |
51 |
|
52 |
inherit eutils flag-o-matic multilib autotools |
53 |
|
54 |
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" |
55 |
HOMEPAGE="http://www.go-mono.com" |
56 |
SRC_URI="http://www.go-mono.com/sources/mono/${P}.tar.bz2" |
57 |
|
58 |
LICENSE="|| ( GPL-2 LGPL-2 X11 )" |
59 |
SLOT="0" |
60 |
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" |
61 |
IUSE="X nptl" |
62 |
|
63 |
RDEPEND="!<dev-dotnet/pnet-0.6.12 |
64 |
>=dev-libs/glib-2.6 |
65 |
nptl? ( >=sys-devel/gcc-3.3.5-r1 ) |
66 |
ppc? ( |
67 |
>=sys-devel/gcc-3.2.3-r4 |
68 |
>=sys-libs/glibc-2.3.3_pre20040420 |
69 |
) |
70 |
X? ( >=dev-dotnet/libgdiplus-1.2.4 )" |
71 |
DEPEND="${RDEPEND} |
72 |
sys-devel/bc |
73 |
>=dev-util/pkgconfig-0.19" |
74 |
PDEPEND="dev-dotnet/pe-format" |
75 |
|
76 |
# Parallel build unfriendly |
77 |
MAKEOPTS="${MAKEOPTS} -j1" |
78 |
|
79 |
RESTRICT="test" |
80 |
|
81 |
function get-memory-total() { |
82 |
cat /proc/meminfo | grep MemTotal | sed -r "s/[^0-9]*([[0-9]+).*/\1/" |
83 |
} |
84 |
|
85 |
src_unpack() { |
86 |
unpack ${A} |
87 |
cd "${S}" |
88 |
|
89 |
# Fix the install path, install into $(libdir) |
90 |
sed -i -e 's:$(prefix)/lib:$(libdir):' \ |
91 |
-i -e 's:$(exec_prefix)/lib:$(libdir):' \ |
92 |
-i -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \ |
93 |
"${S}"/{scripts,mono/metadata}/Makefile.am "${S}"/configure.in \ |
94 |
|| die "sed failed" |
95 |
|
96 |
sed -i -e 's:^libdir.*:libdir=@libdir@:' \ |
97 |
-i -e 's:${prefix}/lib/:${libdir}/:g' \ |
98 |
"${S}"/{scripts,}/*.pc.in \ |
99 |
|| die "sed failed" |
100 |
|
101 |
# Remove dummy ltconfig and let libtool handle it |
102 |
rm -f "${S}"/libgc/ltconfig |
103 |
|
104 |
epatch "${FILESDIR}"/mono-biginteger_overflow.diff |
105 |
|
106 |
# Fixes bug #202358, see |
107 |
# https://bugzilla.novell.com/show_bug.cgi?id=349952 |
108 |
epatch "${FILESDIR}"/${P}-threads-types-private-prototypes.patch |
109 |
|
110 |
# Fixes bug #210429, see |
111 |
# https://bugzilla.novell.com/show_bug.cgi?id=347359 |
112 |
epatch "${FILESDIR}/${P}-bug-210429.patch" |
113 |
|
114 |
einfo "Regenerating the build files, this will take some time..." |
115 |
eautoreconf |
116 |
} |
117 |
|
118 |
src_compile() { |
119 |
# mono's build system is finiky, strip the flags |
120 |
strip-flags |
121 |
|
122 |
# Enable the 2.0 FX, use the system glib and the gc |
123 |
local myconf="--with-preview=yes --with-glib=system --with-gc=included" |
124 |
|
125 |
# Threading support |
126 |
if use amd64 || use nptl ; then |
127 |
# force __thread on amd64 (bug #83770) |
128 |
myconf="${myconf} --with-tls=__thread" |
129 |
else |
130 |
myconf="${myconf} --with-tls=pthread" |
131 |
fi |
132 |
|
133 |
# Enable large heaps if memory is more than >=3GB |
134 |
if [[ $(get-memory-total) -ge 3145728 ]] ; then |
135 |
myconf="${myconf} --with-large-heap=yes" |
136 |
fi |
137 |
|
138 |
# Force the use of monolite mcs to prevent issues with classlibs (bug #118062) |
139 |
touch "${S}"/mcs/build/deps/use-monolite |
140 |
|
141 |
econf ${myconf} || die "configure failed" |
142 |
emake EXTERNAL_MCS=false EXTERNAL_MONO=false |
143 |
|
144 |
if [[ "$?" -ne "0" ]]; then |
145 |
ewarn "If you are using any hardening features such as" |
146 |
ewarn "PIE+SSP/SELinux/grsec/PAX then most probably this is the reason" |
147 |
ewarn "why build has failed. In this case turn any active security" |
148 |
ewarn "enhancements off and try emerging the package again" |
149 |
die |
150 |
fi |
151 |
} |
152 |
|
153 |
src_test() { |
154 |
vecho ">>> Test phase [check]: ${CATEGORY}/${PF}" |
155 |
|
156 |
mkdir -p "${T}/home/mono" || die "mkdir home failed" |
157 |
|
158 |
export HOME="${T}/home/mono" |
159 |
export XDG_CONFIG_HOME="${T}/home/mono" |
160 |
export XDG_DATA_HOME="${T}/home/mono" |
161 |
|
162 |
if ! LC_ALL=C emake -j1 check; then |
163 |
hasq test $FEATURES && die "Make check failed. See above for details." |
164 |
hasq test $FEATURES || eerror "Make check failed. See above for details." |
165 |
fi |
166 |
} |
167 |
|
168 |
src_install() { |
169 |
emake DESTDIR="${D}" install || die "install failed" |
170 |
|
171 |
dodoc AUTHORS ChangeLog NEWS README |
172 |
|
173 |
docinto docs |
174 |
dodoc docs/* |
175 |
|
176 |
docinto libgc |
177 |
dodoc libgc/ChangeLog |
178 |
} |
179 |
|
180 |
|
181 |
|
182 |
-- |
183 |
gentoo-commits@l.g.o mailing list |