summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2005-05-26 22:55:30 +0000
committerPeter Johanson <latexer@gentoo.org>2005-05-26 22:55:30 +0000
commit71e1d1239ba0680cc9153d543b4869368780ff5d (patch)
tree34900533947ae210593ee14433e3edb3adc1f96f /dev-lang/mono
parentVersion bump under package.mask. (diff)
downloadhistorical-71e1d1239ba0680cc9153d543b4869368780ff5d.tar.gz
historical-71e1d1239ba0680cc9153d543b4869368780ff5d.tar.bz2
historical-71e1d1239ba0680cc9153d543b4869368780ff5d.zip
Revision bump with multilib fixes from Herbs.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-lang/mono')
-rw-r--r--dev-lang/mono/ChangeLog7
-rw-r--r--dev-lang/mono/files/digest-mono-1.1.7-r11
-rw-r--r--dev-lang/mono/mono-1.1.7-r1.ebuild95
3 files changed, 102 insertions, 1 deletions
diff --git a/dev-lang/mono/ChangeLog b/dev-lang/mono/ChangeLog
index 7db763674cf5..bc5ec44ef1e0 100644
--- a/dev-lang/mono/ChangeLog
+++ b/dev-lang/mono/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/mono
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.48 2005/05/18 16:16:17 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.49 2005/05/26 22:55:30 latexer Exp $
+
+*mono-1.1.7-r1 (26 May 2005)
+
+ 26 May 2005; Peter Johanson <latexer@gentoo.org> +mono-1.1.7-r1.ebuild:
+ Revision bump with multilib fixes from Herbs.
18 May 2005; Peter Johanson <latexer@gentoo.org> :
Fix the digest, hopefully for real this time.
diff --git a/dev-lang/mono/files/digest-mono-1.1.7-r1 b/dev-lang/mono/files/digest-mono-1.1.7-r1
new file mode 100644
index 000000000000..1aea05202cf8
--- /dev/null
+++ b/dev-lang/mono/files/digest-mono-1.1.7-r1
@@ -0,0 +1 @@
+MD5 f81c6b02ef0c5d5ef7ab827d28eb9731 mono-1.1.7.tar.gz 14766534
diff --git a/dev-lang/mono/mono-1.1.7-r1.ebuild b/dev-lang/mono/mono-1.1.7-r1.ebuild
new file mode 100644
index 000000000000..967da76b4f17
--- /dev/null
+++ b/dev-lang/mono/mono-1.1.7-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.1.7-r1.ebuild,v 1.1 2005/05/26 22:55:30 latexer Exp $
+
+inherit eutils mono flag-o-matic
+
+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-${PV:0:3}/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 LGPL-2 X11)"
+SLOT="0"
+KEYWORDS="~x86 -ppc ~amd64"
+IUSE="nptl icu X"
+
+DEPEND="virtual/libc
+ >=dev-libs/glib-2.0
+ !<dev-dotnet/pnet-0.6.12
+ nptl? ( >=sys-devel/gcc-3.3.5-r1 )
+ icu? ( >=dev-libs/icu-2.6.2 )
+ ppc? (
+ >=sys-devel/gcc-3.2.3-r4
+ >=sys-libs/glibc-2.3.3_pre20040420
+ )"
+
+RDEPEND="${DEPEND}
+ X? ( >=dev-dotnet/libgdiplus-1.1.4 )
+ dev-util/pkgconfig
+ dev-libs/libxml2"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i "s: -fexceptions::" ${S}/libgc/configure.host || die
+
+ # Fix munging of Unix paths
+ epatch ${FILESDIR}/${PN}-1.1.5-pathfix.diff || die
+
+ # Fix for linking to ICU
+ epatch ${FILESDIR}/${PN}-1.1.5-icu-linking.diff || die
+
+ # Fix MONO_CFG_DIR for signing
+ sed -i \
+ "s:^\t\(MONO_PATH.*)\):\tMONO_CFG_DIR='${D}/etc/' \1:" \
+ ${S}/mcs/build/library.make || die
+
+ # Install all our .dlls under $(libdir), not $(prefix)/lib
+ sed -i -e 's:$(prefix)/lib:$(libdir):' \
+ -e 's:$(exec_prefix)/lib:$(libdir):' \
+ -e "s:'mono_libdir=\${exec_prefix}/lib':\"mono_libdir=\$libdir\":" \
+ ${S}/{scripts,mono/metadata}/Makefile.am ${S}/configure.in || die
+
+ libtoolize --copy --force || die "libtoolize failed"
+ aclocal || die "aclocal failed"
+ autoconf || die "autoconf failed"
+ automake || die "automake failed"
+}
+
+src_compile() {
+ strip-flags
+ local myconf="--with-preview=yes"
+
+ # Force __thread on amd64. See bug #83770
+ if use amd64
+ then
+ myconf="${myconf} --with-tls=__thread"
+ else
+ if use nptl
+ then
+ myconf="${myconf} --with-tls=__thread"
+ else
+ myconf="${myconf} --with-tls=pthread"
+ fi
+ fi
+
+ econf ${myconf} $(use_with icu) || die
+ emake -j1 || die "MONO compilation failure"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ # Fix incorrect path to makecert EXE file
+ sed -i "s:makecert.exe:MakeCert.exe:" ${D}/usr/bin/makecert || die
+
+ # monoresgen script is broken. It should be symlink to /usr/bin/resgen
+ rm ${D}/usr/bin/monoresgen || die
+ dosym /usr/bin/resgen /usr/bin/monoresgen
+
+ dodoc AUTHORS ChangeLog NEWS README
+ docinto docs
+ dodoc docs/*
+ docinto libgc
+ dodoc libgc/ChangeLog
+}