Note: Due to technical difficulties, the Archives are currently not up to date.
GMANE provides an alternative service for most mailing lists. c.f. bug 424647
List Archive: gentoo-commits
jurek 07/11/03 00:38:41
Modified: ChangeLog
Added: mono-1.2.5.1-r1.ebuild
Log:
dev-lang/mono: Version bump (bug #197067)
(Portage version: 2.1.3.16)
Revision Changes Path
1.128 dev-lang/mono/ChangeLog
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.128&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?rev=1.128&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/ChangeLog?r1=1.127&r2=1.128
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- ChangeLog 20 Sep 2007 23:18:31 -0000 1.127
+++ ChangeLog 3 Nov 2007 00:38:41 -0000 1.128
@@ -1,6 +1,12 @@
# ChangeLog for dev-lang/mono
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.127 2007/09/20 23:18:31 jurek Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.128 2007/11/03 00:38:41 jurek Exp $
+
+*mono-1.2.5.1-r1 (03 Nov 2007)
+
+ 03 Nov 2007; Jurek Bartuszek <jurek@g.o>
+ +files/mono-biginteger_overflow.diff, +mono-1.2.5.1-r1.ebuild:
+ Version bump (bug #197067)
*mono-1.2.5.1 (20 Sep 2007)
1.1 dev-lang/mono/mono-1.2.5.1-r1.ebuild
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-1.2.5.1-r1.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/mono/mono-1.2.5.1-r1.ebuild?rev=1.1&content-type=text/plain
Index: mono-1.2.5.1-r1.ebuild
===================================================================
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.2.5.1-r1.ebuild,v 1.1 2007/11/03 00:38:41 jurek Exp $
inherit eutils flag-o-matic multilib autotools
DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
HOMEPAGE="http://www.go-mono.com"
SRC_URI="http://www.go-mono.com/sources/mono/${P}.tar.bz2"
LICENSE="|| ( GPL-2 LGPL-2 X11 )"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="X nptl"
RDEPEND="!<dev-dotnet/pnet-0.6.12
>=dev-libs/glib-2.6
nptl? ( >=sys-devel/gcc-3.3.5-r1 )
ppc? (
>=sys-devel/gcc-3.2.3-r4
>=sys-libs/glibc-2.3.3_pre20040420
)
X? ( >=dev-dotnet/libgdiplus-1.2.4 )"
DEPEND="${RDEPEND}
sys-devel/bc
>=dev-util/pkgconfig-0.19"
PDEPEND="dev-dotnet/pe-format"
# Parallel build unfriendly
MAKEOPTS="${MAKEOPTS} -j1"
RESTRICT="test"
function get-memory-total() {
cat /proc/meminfo | grep MemTotal | sed -r "s/[^0-9]*([[0-9]+).*/\1/"
}
src_unpack() {
unpack ${A}
cd ${S}
# Fix the install path, install into $(libdir)
sed -i -e 's:$(prefix)/lib:$(libdir):' \
-i -e 's:$(exec_prefix)/lib:$(libdir):' \
-i -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \
${S}/{scripts,mono/metadata}/Makefile.am ${S}/configure.in \
|| die "sed failed"
sed -i -e 's:^libdir.*:libdir=@libdir@:' \
-i -e 's:${prefix}/lib/:${libdir}/:g' \
${S}/{scripts,}/*.pc.in \
|| die "sed failed"
epatch ${FILESDIR}/${PN}-1.2.4-pic.patch || die "patch failed"
# Remove dummy ltconfig and let libtool handle it
rm -f ${S}/libgc/ltconfig
epatch ${FILESDIR}/mono-biginteger_overflow.diff
einfo "Regenerating the build files, this will take some time..."
eautoreconf
}
src_compile() {
# mono's build system is finiky, strip the flags
strip-flags
# Enable the 2.0 FX, use the system glib and the gc
local myconf="--with-preview=yes --with-glib=system --with-gc=included"
# Threading support
if use amd64 || use nptl ; then
# force __thread on amd64 (bug #83770)
myconf="${myconf} --with-tls=__thread"
else
myconf="${myconf} --with-tls=pthread"
fi
# Enable large heaps if memory is more than >=3GB
if [[ $(get-memory-total) -ge 3145728 ]] ; then
myconf="${myconf} --with-large-heap=yes"
fi
# Force the use of monolite mcs to prevent issues with classlibs (bug #118062)
touch ${S}/mcs/build/deps/use-monolite
econf ${myconf} || die "configure failed"
emake EXTERNAL_MCS=false EXTERNAL_MONO=false
if [[ "$?" -ne "0" ]]; then
ewarn "If you are using any hardening features such as"
ewarn "PIE+SSP/SELinux/grsec/PAX then most probably this is the reason"
ewarn "why build has failed. In this case turn any active security"
ewarn "enhancements off and try emerging the package again"
die
fi
}
src_test() {
vecho ">>> Test phase [check]: ${CATEGORY}/${PF}"
mkdir -p "${T}/home/mono" || die "mkdir home failed"
export HOME="${T}/home/mono"
export XDG_CONFIG_HOME="${T}/home/mono"
export XDG_DATA_HOME="${T}/home/mono"
if ! LC_ALL=C emake -j1 check; then
hasq test $FEATURES && die "Make check failed. See above for details."
hasq test $FEATURES || eerror "Make check failed. See above for details."
fi
}
src_install() {
emake DESTDIR="${D}" install || die "install failed"
dodoc AUTHORS ChangeLog NEWS README
docinto docs
dodoc docs/*
docinto libgc
dodoc libgc/ChangeLog
}
--
gentoo-commits@g.o mailing list
|
|