diff options
author | Peter Johanson <latexer@gentoo.org> | 2005-03-14 23:51:05 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2005-03-14 23:51:05 +0000 |
commit | 251a6eb5af0343bfc16cd1c8ce039c8f372088ed (patch) | |
tree | 2ed361787cd321c0253f74697995d7bf00d1ca2b /dev-lang | |
parent | more KEYWORDS #85209 (diff) | |
download | gentoo-2-251a6eb5af0343bfc16cd1c8ce039c8f372088ed.tar.gz gentoo-2-251a6eb5af0343bfc16cd1c8ce039c8f372088ed.tar.bz2 gentoo-2-251a6eb5af0343bfc16cd1c8ce039c8f372088ed.zip |
Mark stable on x86, and remove a *bunch* of old cruft.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/mono/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/mono/files/digest-mono-0.28 | 2 | ||||
-rw-r--r-- | dev-lang/mono/files/digest-mono-1.0.2 | 1 | ||||
-rw-r--r-- | dev-lang/mono/files/digest-mono-1.0.2-r1 | 1 | ||||
-rw-r--r-- | dev-lang/mono/files/digest-mono-1.0.5-r2 | 2 | ||||
-rw-r--r-- | dev-lang/mono/files/digest-mono-1.0.5-r3 | 2 | ||||
-rw-r--r-- | dev-lang/mono/files/digest-mono-1.0.5-r4 | 2 | ||||
-rw-r--r-- | dev-lang/mono/files/mono-1.0-segv.diff | 11 | ||||
-rw-r--r-- | dev-lang/mono/mono-0.28.ebuild | 83 | ||||
-rw-r--r-- | dev-lang/mono/mono-1.0.2-r1.ebuild | 82 | ||||
-rw-r--r-- | dev-lang/mono/mono-1.0.2.ebuild | 63 | ||||
-rw-r--r-- | dev-lang/mono/mono-1.0.5-r2.ebuild | 133 | ||||
-rw-r--r-- | dev-lang/mono/mono-1.0.5-r3.ebuild | 153 | ||||
-rw-r--r-- | dev-lang/mono/mono-1.0.5-r4.ebuild | 143 | ||||
-rw-r--r-- | dev-lang/mono/mono-1.0.5-r5.ebuild | 4 |
15 files changed, 9 insertions, 681 deletions
diff --git a/dev-lang/mono/ChangeLog b/dev-lang/mono/ChangeLog index eb10f8ecd922..7f68d59a6677 100644 --- a/dev-lang/mono/ChangeLog +++ b/dev-lang/mono/ChangeLog @@ -1,6 +1,12 @@ # 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.31 2005/03/11 06:00:19 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/ChangeLog,v 1.32 2005/03/14 23:51:05 latexer Exp $ + + 14 Mar 2005; Peter Johanson <latexer@gentoo.org> -files/mono-1.0-segv.diff, + -mono-0.28.ebuild, -mono-1.0.2-r1.ebuild, -mono-1.0.2.ebuild, + -mono-1.0.5-r2.ebuild, -mono-1.0.5-r3.ebuild, -mono-1.0.5-r4.ebuild, + mono-1.0.5-r5.ebuild: + Mark stable on x86, and remove a *bunch* of old cruft. *mono-1.0.5-r4 (10 Mar 2005) diff --git a/dev-lang/mono/files/digest-mono-0.28 b/dev-lang/mono/files/digest-mono-0.28 deleted file mode 100644 index fa4a14d66b61..000000000000 --- a/dev-lang/mono/files/digest-mono-0.28 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 108f89a08c1f1dd772b8d48ea5dcaf24 mono-0.28.tar.gz 9323050 -MD5 a437c53d588e9d7b16309d52f08fa253 mcs-0.28.tar.gz 6268271 diff --git a/dev-lang/mono/files/digest-mono-1.0.2 b/dev-lang/mono/files/digest-mono-1.0.2 deleted file mode 100644 index ec39eec05cc3..000000000000 --- a/dev-lang/mono/files/digest-mono-1.0.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 4490424a30ce40d1d7534cc681f6c14c mono-1.0.2.tar.gz 18268654 diff --git a/dev-lang/mono/files/digest-mono-1.0.2-r1 b/dev-lang/mono/files/digest-mono-1.0.2-r1 deleted file mode 100644 index ec39eec05cc3..000000000000 --- a/dev-lang/mono/files/digest-mono-1.0.2-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 4490424a30ce40d1d7534cc681f6c14c mono-1.0.2.tar.gz 18268654 diff --git a/dev-lang/mono/files/digest-mono-1.0.5-r2 b/dev-lang/mono/files/digest-mono-1.0.5-r2 deleted file mode 100644 index 7d194132b39f..000000000000 --- a/dev-lang/mono/files/digest-mono-1.0.5-r2 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 09c9b5e7a128e7607e79d4d35bf76f68 mono-1.0.5.tar.gz 18477749 -MD5 aa1d0acf06eb9ba8e87b5bec1b860e1b mcs-1.0.5.tar.gz 22283191 diff --git a/dev-lang/mono/files/digest-mono-1.0.5-r3 b/dev-lang/mono/files/digest-mono-1.0.5-r3 deleted file mode 100644 index 7d194132b39f..000000000000 --- a/dev-lang/mono/files/digest-mono-1.0.5-r3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 09c9b5e7a128e7607e79d4d35bf76f68 mono-1.0.5.tar.gz 18477749 -MD5 aa1d0acf06eb9ba8e87b5bec1b860e1b mcs-1.0.5.tar.gz 22283191 diff --git a/dev-lang/mono/files/digest-mono-1.0.5-r4 b/dev-lang/mono/files/digest-mono-1.0.5-r4 deleted file mode 100644 index 7d194132b39f..000000000000 --- a/dev-lang/mono/files/digest-mono-1.0.5-r4 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 09c9b5e7a128e7607e79d4d35bf76f68 mono-1.0.5.tar.gz 18477749 -MD5 aa1d0acf06eb9ba8e87b5bec1b860e1b mcs-1.0.5.tar.gz 22283191 diff --git a/dev-lang/mono/files/mono-1.0-segv.diff b/dev-lang/mono/files/mono-1.0-segv.diff deleted file mode 100644 index 858a75f60cbf..000000000000 --- a/dev-lang/mono/files/mono-1.0-segv.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- mono-0.97/mono/interpreter/interp.c.orig 2004-06-26 17:55:52.739575943 +0200 -+++ mono-0.97/mono/interpreter/interp.c 2004-06-26 17:54:44.489967101 +0200 -@@ -1164,7 +1164,7 @@ - } - } - -- if (method->klass->valuetype) -+ if (method->klass->valuetype && obj) - /* Unbox the instance, since valuetype methods expect an interior pointer. */ - obj = mono_object_unbox (obj); - diff --git a/dev-lang/mono/mono-0.28.ebuild b/dev-lang/mono/mono-0.28.ebuild deleted file mode 100644 index 0f25fd45a318..000000000000 --- a/dev-lang/mono/mono-0.28.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# 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-0.28.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ - -inherit mono - -MCS_P="mcs-${PV}" -MCS_S=${WORKDIR}/${MCS_P} - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.go-mono.com/" -SRC_URI="http://www.go-mono.com/archive/${P}.tar.gz - http://www.go-mono.com/archive/${MCS_P}.tar.gz" - -LICENSE="|| ( GPL-2 LGPL-2 X11)" -SLOT="0" -KEYWORDS="x86 -ppc" -IUSE="" - -DEPEND="virtual/libc - >=dev-libs/glib-2.0 - !<dev-dotnet/pnet-0.6.12" -RDEPEND="${DEPEND} - dev-util/pkgconfig - dev-libs/libxml2 - dev-libs/libxslt" - -src_unpack() { - unpack ${A} - - # add our own little in-place mcs script - echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs - chmod +x ${S}/runtime/mcs -} - -src_compile() { - econf || die - emake -j1 || die "MONO compilation failure" - - ln -s ../runtime ${WORKDIR}/${P}/runtime/lib - cd ${MCS_S} - echo "prefix=${S}/runtime" > build/config.make - echo "MONO_PATH=${S}/runtime" >> build/config.make - echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make - echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make - echo "export MONO_PATH" >> build/config.make - make || die "MCS compilation failure" - echo "prefix=/usr" >> build/config.make -} - -src_install() { - einstall || die - - dodoc AUTHORS ChangeLog NEWS README - docinto docs - dodoc docs/* - - # now install our own compiled dlls - cd ${MCS_S} - einstall || die - - # install mono's logo - insopts -m0644 - insinto /usr/share/pixmaps/mono - doins MonoIcon.png ScalableMonoIcon.svg - - docinto mcs - dodoc AUTHORS README* ChangeLog INSTALL.txt - docinto mcs/docs - dodoc docs/*.txt - - # init script - exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet - insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet -} - -pkg_postinst() { - echo - einfo "If you want to avoid typing '<runtime> program.exe'" - einfo "you can configure your runtime in /etc/conf.d/dotnet" - einfo "Use /etc/init.d/dotnet to register your runtime" - echo -} diff --git a/dev-lang/mono/mono-1.0.2-r1.ebuild b/dev-lang/mono/mono-1.0.2-r1.ebuild deleted file mode 100644 index 26b1244d2c17..000000000000 --- a/dev-lang/mono/mono-1.0.2-r1.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# 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.0.2-r1.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ - -inherit eutils mono flag-o-matic debug gcc - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.go-mono.com/" -SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz" - -LICENSE="|| ( GPL-2 LGPL-2 X11)" -SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="nptl" - -DEPEND="virtual/libc - >=dev-libs/glib-2.0 - >=dev-libs/icu-2.6.1 - !<dev-dotnet/pnet-0.6.12 - nptl? ( >=sys-devel/gcc-3.4 ) - ppc? ( - >=sys-devel/gcc-3.2.3-r4 - >=sys-libs/glibc-2.3.3_pre20040420 - )" - -RDEPEND="${DEPEND} - dev-util/pkgconfig - dev-libs/libxml2" - -src_compile() { - strip-flags - - local myconf="" - if use nptl && have_NPTL - then - # NPTL support only works with gcc-3.4 and higher currently. ): - if [ `gcc-minor-version` -lt 4 ] - then - echo - eerror "NPTL enabled mono requires gcc-3.4 or higher to function." - eerror "Please use gcc-config to select gcc-3.4 for the mono installation." - die "gcc version not high enough for NPTL support." - else - myconf="${myconf} --with-tls=__thread" - sed -i "s: -fexceptions::" ${S}/libgc/configure.host - fi - else - if have_NPTL - then - ewarn "NPTL glibc detected, but nptl USE flag is not set." - ewarn "This may cause some problems for mono as it will be" - ewarn "compiled with normal pthread support." - fi - - myconf="${myconf} --with-tls=pthread" - fi - - econf ${myconf} || die - emake -j1 || die "MONO compilation failure" -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc AUTHORS ChangeLog NEWS README - docinto docs - dodoc docs/* - docinto libgc - dodoc libgc/ChangeLog - - # init script - exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet - insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet -} - -pkg_postinst() { - echo - einfo "If you want to avoid typing '<runtime> program.exe'" - einfo "you can configure your runtime in /etc/conf.d/dotnet" - einfo "Use /etc/init.d/dotnet to register your runtime" - echo -} diff --git a/dev-lang/mono/mono-1.0.2.ebuild b/dev-lang/mono/mono-1.0.2.ebuild deleted file mode 100644 index 90c23041f537..000000000000 --- a/dev-lang/mono/mono-1.0.2.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# 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.0.2.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ - -inherit eutils mono flag-o-matic debug - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.go-mono.com/" -SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz" - -LICENSE="|| ( GPL-2 LGPL-2 X11)" -SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64" -IUSE="" - -DEPEND="virtual/libc - >=dev-libs/glib-2.0 - >=dev-libs/icu-2.6.1 - !<dev-dotnet/pnet-0.6.12 - ppc? ( >=sys-devel/gcc-3.2.3-r4 ) - ppc? ( >=sys-libs/glibc-2.3.3_pre20040420 )" -RDEPEND="${DEPEND} - dev-util/pkgconfig - dev-libs/libxml2" - -src_compile() { - strip-flags - - if have_NPTL - then - eerror "mono currently has bug in garbage collection when" - eerror "using a NPTL enabled glibc. Please see bug #54603" - eerror "on bugs.gentoo.org for details. You can use the" - eerror "package.masked mono-1.0.2-r1 release if you need NPTL" - eerror "but you have been warned of the problems." - die "NPTL glibc not support by this release" - fi - - econf --with-tls=pthread || die - emake -j1 || die "MONO compilation failure" -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc AUTHORS ChangeLog NEWS README - docinto docs - dodoc docs/* - docinto libgc - dodoc libgc/ChangeLog - - # init script - exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet - insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet -} - -pkg_postinst() { - echo - einfo "If you want to avoid typing '<runtime> program.exe'" - einfo "you can configure your runtime in /etc/conf.d/dotnet" - einfo "Use /etc/init.d/dotnet to register your runtime" - echo -} diff --git a/dev-lang/mono/mono-1.0.5-r2.ebuild b/dev-lang/mono/mono-1.0.5-r2.ebuild deleted file mode 100644 index 6165379d2f78..000000000000 --- a/dev-lang/mono/mono-1.0.5-r2.ebuild +++ /dev/null @@ -1,133 +0,0 @@ -# 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.0.5-r2.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ - -inherit eutils mono flag-o-matic debug - -MCS_P=${P/mono/mcs} -MCS_S=${WORKDIR}/${MCS_P} - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.go-mono.com/" -SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz - http://www.go-mono.com/archive/${PV}/${MCS_P}.tar.gz" - -LICENSE="|| ( GPL-2 LGPL-2 X11)" -SLOT="0" -KEYWORDS="~x86 ~ppc" -IUSE="" - -DEPEND="virtual/libc - >=dev-libs/glib-2.0 - >=dev-libs/icu-2.6.1 - !<dev-dotnet/pnet-0.6.12 - ppc? ( - >=sys-devel/gcc-3.2.3-r4 - >=sys-libs/glibc-2.3.3_pre20040420 - )" -RDEPEND="${DEPEND} - dev-util/pkgconfig - dev-libs/libxml2" - -src_unpack() { - unpack ${A} - - epatch ${FILESDIR}/${MCS_P}-pathfix.diff - - # Disable installing the precompiled mcs/classlibs - sed -i "s: runtime : :" ${S}/Makefile.in - # Fix the path for the jay man page - sed -i "s:man/man1:share/man/man1:" ${MCS_S}/jay/Makefile - - # Ugly sed to replace windows path with *nix equivalent - for file in $(find ${MCS_S}/nunit20 -name AssemblyInfo.cs) - do - sed -i "s:\.\.\\\\\\\\:../:g" "${file}" - done - - # Fix MONO_CFG_DIR for signing - sed -i \ - "s:^\t\(MONO_PATH.*)\):\tMONO_CFG_DIR='${D}/etc/' \1:" \ - ${MCS_S}/build/library.make - - # add our own little in-place mcs script - echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs - chmod +x ${S}/runtime/mcs - - echo "${S}/mono/mini/mono ${S}/runtime/monoresgen.exe \"\$@\" " > ${S}/runtime/monoresgen - chmod +x ${S}/runtime/monoresgen - - PATH="${S}/runtime:${PATH}" - MONO_CFG_DIR='${D}/etc/' - export PATH - export MONO_CFG_DIR -} - -src_compile() { - strip-flags - - if have_NPTL - then - eerror "To use mono with an NPTL enabled glibc, please emerge" - eerror "mono-${PV}-r3." - die "NPTL glibc not support by this release" - fi - - econf --with-tls=pthread --with-sigaltstack=yes || die - emake -j1 || die "mono runtime compilation failure" - - cd ${S} - ln -s ../runtime ${WORKDIR}/${P}/runtime/lib - - # Now that we have a valid config for lib mappings, put them - # in our temporary config directory. - - dodir /etc/mono - cp ${S}/data/{config,machine.config} ${D}/etc/mono/ - - cd ${MCS_S} - echo "prefix=${S}/runtime" > build/config.make - echo "MONO_PATH=${S}/runtime/net_1_1" >> build/config.make - echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make - echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make - echo "PATH=${S}/runtime:${PATH}" >> build/config.make - echo "export PATH" >> build/config.make - echo "export MONO_PATH" >> build/config.make - emake -j1 PLATFORM=linux || die "mcs compiler compilation failure" - echo "prefix=/usr" >> build/config.make -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc AUTHORS ChangeLog NEWS README - docinto docs - dodoc docs/* - docinto libgc - dodoc libgc/ChangeLog - - cd ${MCS_S} - make PLATFORM=linux DESTDIR=${D} install || die - - docinto mcs - dodoc AUTHORS README* ChangeLog INSTALL.txt - docinto mcs/docs - dodoc docs/*.txt - - # Remove some extraneous tools - cd ${D}/usr/bin - rm {CorCompare,EnumCheck,GenerateDelegate,ictool,IFaceDisco}.exe - rm nunit-console.exe - - # init script - exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet - insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet -} - -pkg_postinst() { - echo - einfo "If you want to avoid typing '<runtime> program.exe'" - einfo "you can configure your runtime in /etc/conf.d/dotnet" - einfo "Use /etc/init.d/dotnet to register your runtime" - echo -} diff --git a/dev-lang/mono/mono-1.0.5-r3.ebuild b/dev-lang/mono/mono-1.0.5-r3.ebuild deleted file mode 100644 index 27a39926f7fe..000000000000 --- a/dev-lang/mono/mono-1.0.5-r3.ebuild +++ /dev/null @@ -1,153 +0,0 @@ -# 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.0.5-r3.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ - -inherit eutils mono flag-o-matic debug gcc - -MCS_P=${P/mono/mcs} -MCS_S=${WORKDIR}/${MCS_P} - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.go-mono.com/" -SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz - http://www.go-mono.com/archive/${PV}/${MCS_P}.tar.gz" - -LICENSE="|| ( GPL-2 LGPL-2 X11)" -SLOT="0" -KEYWORDS="~x86 ~ppc" -IUSE="nptl" - -DEPEND="virtual/libc - >=dev-libs/glib-2.0 - >=dev-libs/icu-2.6.1 - !<dev-dotnet/pnet-0.6.12 - nptl? ( >=sys-devel/gcc-3.4 ) - ppc? ( - >=sys-devel/gcc-3.2.3-r4 - >=sys-libs/glibc-2.3.3_pre20040420 - )" - -RDEPEND="${DEPEND} - dev-util/pkgconfig - dev-libs/libxml2" - -src_unpack() { - unpack ${A} - - epatch ${FILESDIR}/${MCS_P}-pathfix.diff - - # Disable installing the precompiled mcs/classlibs - sed -i "s: runtime : :" ${S}/Makefile.in - # Fix the path for the jay man page - sed -i "s:man/man1:share/man/man1:" ${MCS_S}/jay/Makefile - - # Ugly sed to replace windows path with *nix equivalent - for file in $(find ${MCS_S}/nunit20 -name AssemblyInfo.cs) - do - sed -i "s:\.\.\\\\\\\\:../:g" "${file}" - done - - # Fix MONO_CFG_DIR for signing - sed -i \ - "s:^\t\(MONO_PATH.*)\):\tMONO_CFG_DIR='${D}/etc/' \1:" \ - ${MCS_S}/build/library.make - - # add our own little in-place mcs script - echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs - chmod +x ${S}/runtime/mcs - - echo "${S}/mono/mini/mono ${S}/runtime/monoresgen.exe \"\$@\" " > ${S}/runtime/monoresgen - chmod +x ${S}/runtime/monoresgen - - PATH="${S}/runtime:${PATH}" - MONO_CFG_DIR='${D}/etc/' - export PATH - export MONO_CFG_DIR -} - -src_compile() { - strip-flags - - local myconf="--with-sigaltstack=yes" - if use nptl && have_NPTL - then - # NPTL support only works with gcc-3.4 and higher currently. ): - if [ `gcc-minor-version` -lt 4 ] - then - echo - eerror "NPTL enabled mono requires gcc-3.4 or higher to function." - eerror "Please use gcc-config to select gcc-3.4 for the mono installation." - die "gcc version not high enough for NPTL support." - else - myconf="${myconf} --with-tls=__thread" - sed -i "s: -fexceptions::" ${S}/libgc/configure.host - fi - else - if have_NPTL - then - ewarn "NPTL glibc detected, but nptl USE flag is not set." - ewarn "This may cause some problems for mono as it will be" - ewarn "compiled with normal pthread support." - fi - - myconf="${myconf} --with-tls=pthread" - fi - - econf ${myconf} || die - emake -j1 || die "mono runtime compilation failure" - - cd ${S} - ln -s ../runtime ${WORKDIR}/${P}/runtime/lib - - # Now that we have a valid config for lib mappings, put them - # in our temporary config directory. - - dodir /etc/mono - cp ${S}/data/{config,machine.config} ${D}/etc/mono/ - - cd ${MCS_S} - echo "prefix=${S}/runtime" > build/config.make - echo "MONO_PATH=${S}/runtime/net_1_1" >> build/config.make - echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make - echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make - echo "PATH=${S}/runtime:${PATH}" >> build/config.make - echo "export PATH" >> build/config.make - echo "export MONO_PATH" >> build/config.make - emake -j1 PLATFORM=linux || die "mcs compiler compilation failure" - echo "prefix=/usr" >> build/config.make -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc AUTHORS ChangeLog NEWS README - docinto docs - dodoc docs/* - docinto libgc - dodoc libgc/ChangeLog - - cd ${MCS_S} - make PLATFORM=linux DESTDIR=${D} install || die - - docinto mcs - dodoc AUTHORS README* ChangeLog INSTALL.txt - docinto mcs/docs - dodoc docs/*.txt - - # Remove some extraneous tools - cd ${D}/usr/bin - rm {CorCompare,EnumCheck,GenerateDelegate,ictool,IFaceDisco}.exe - rm nunit-console.exe - - # init script - exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet - insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet -} - -pkg_postinst() { - echo - einfo "If you want to avoid typing '<runtime> program.exe'" - einfo "you can configure your runtime in /etc/conf.d/dotnet" - einfo "Use /etc/init.d/dotnet to register your runtime" - echo -} diff --git a/dev-lang/mono/mono-1.0.5-r4.ebuild b/dev-lang/mono/mono-1.0.5-r4.ebuild deleted file mode 100644 index 38051cf7d8b6..000000000000 --- a/dev-lang/mono/mono-1.0.5-r4.ebuild +++ /dev/null @@ -1,143 +0,0 @@ -# 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.0.5-r4.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ - -inherit eutils mono flag-o-matic debug - -MCS_P=${P/mono/mcs} -MCS_S=${WORKDIR}/${MCS_P} - -DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter" -HOMEPAGE="http://www.go-mono.com/" -SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz - http://www.go-mono.com/archive/${PV}/${MCS_P}.tar.gz" - -LICENSE="|| ( GPL-2 LGPL-2 X11)" -SLOT="0" -KEYWORDS="~x86 ~ppc" -IUSE="nptl" - -DEPEND="virtual/libc - >=dev-libs/glib-2.0 - >=dev-libs/icu-2.6.1 - !<dev-dotnet/pnet-0.6.12 - >=sys-devel/gcc-3.3.5 - ppc? ( - >=sys-libs/glibc-2.3.3_pre20040420 - )" - -RDEPEND="${DEPEND} - dev-util/pkgconfig - dev-libs/libxml2" - -src_unpack() { - unpack ${A} - - epatch ${FILESDIR}/${MCS_P}-pathfix.diff - - # Disable installing the precompiled mcs/classlibs - sed -i "s: runtime : :" ${S}/Makefile.in - # Fix the path for the jay man page - sed -i "s:man/man1:share/man/man1:" ${MCS_S}/jay/Makefile - - # Ugly sed to replace windows path with *nix equivalent - for file in $(find ${MCS_S}/nunit20 -name AssemblyInfo.cs) - do - sed -i "s:\.\.\\\\\\\\:../:g" "${file}" - done - - # Fix MONO_CFG_DIR for signing - sed -i \ - "s:^\t\(MONO_PATH.*)\):\tMONO_CFG_DIR='${D}/etc/' \1:" \ - ${MCS_S}/build/library.make - - # add our own little in-place mcs script - echo "${S}/mono/mini/mono ${S}/runtime/mcs.exe \"\$@\" " > ${S}/runtime/mcs - chmod +x ${S}/runtime/mcs - - echo "${S}/mono/mini/mono ${S}/runtime/monoresgen.exe \"\$@\" " > ${S}/runtime/monoresgen - chmod +x ${S}/runtime/monoresgen - - PATH="${S}/runtime:${PATH}" - MONO_CFG_DIR='${D}/etc/' - export PATH - export MONO_CFG_DIR -} - -src_compile() { - strip-flags - - local myconf="--with-sigaltstack=yes" - if use nptl && have_NPTL - then - myconf="${myconf} --with-tls=__thread" - sed -i "s: -fexceptions::" ${S}/libgc/configure.host - else - if have_NPTL - then - ewarn "NPTL glibc detected, but nptl USE flag is not set." - ewarn "This may cause some problems for mono as it will be" - ewarn "compiled with normal pthread support." - fi - - myconf="${myconf} --with-tls=pthread" - fi - - econf ${myconf} || die - emake -j1 || die "mono runtime compilation failure" - - cd ${S} - ln -s ../runtime ${WORKDIR}/${P}/runtime/lib - - # Now that we have a valid config for lib mappings, put them - # in our temporary config directory. - - dodir /etc/mono - cp ${S}/data/{config,machine.config} ${D}/etc/mono/ - - cd ${MCS_S} - echo "prefix=${S}/runtime" > build/config.make - echo "MONO_PATH=${S}/runtime/net_1_1" >> build/config.make - echo "BOOTSTRAP_MCS=${S}/runtime/mcs" >> build/config.make - echo "RUNTIME=${S}/mono/mini/mono \${RUNTIME_FLAGS}" >> build/config.make - echo "PATH=${S}/runtime:${PATH}" >> build/config.make - echo "export PATH" >> build/config.make - echo "export MONO_PATH" >> build/config.make - emake -j1 PLATFORM=linux || die "mcs compiler compilation failure" - echo "prefix=/usr" >> build/config.make -} - -src_install() { - make DESTDIR=${D} install || die - - dodoc AUTHORS ChangeLog NEWS README - docinto docs - dodoc docs/* - docinto libgc - dodoc libgc/ChangeLog - - cd ${MCS_S} - make PLATFORM=linux DESTDIR=${D} install || die - - docinto mcs - dodoc AUTHORS README* ChangeLog INSTALL.txt - docinto mcs/docs - dodoc docs/*.txt - - # Remove some extraneous tools - cd ${D}/usr/bin - rm {CorCompare,EnumCheck,GenerateDelegate,ictool,IFaceDisco}.exe - rm nunit-console.exe - - # init script - exeinto /etc/init.d ; newexe ${FILESDIR}/dotnet.init dotnet - insinto /etc/conf.d ; newins ${FILESDIR}/dotnet.conf dotnet -} - -pkg_postinst() { - echo - einfo "If you want to avoid typing '<runtime> program.exe'" - einfo "you can configure your runtime in /etc/conf.d/dotnet" - einfo "Use /etc/init.d/dotnet to register your runtime" - echo -} diff --git a/dev-lang/mono/mono-1.0.5-r5.ebuild b/dev-lang/mono/mono-1.0.5-r5.ebuild index c5d76bfd01bf..158e3029c1c6 100644 --- a/dev-lang/mono/mono-1.0.5-r5.ebuild +++ b/dev-lang/mono/mono-1.0.5-r5.ebuild @@ -1,6 +1,6 @@ # 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.0.5-r5.ebuild,v 1.1 2005/03/11 03:14:01 latexer Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/mono/mono-1.0.5-r5.ebuild,v 1.2 2005/03/14 23:51:05 latexer Exp $ inherit eutils mono flag-o-matic debug @@ -14,7 +14,7 @@ SRC_URI="http://www.go-mono.com/archive/${PV}/${P}.tar.gz LICENSE="|| ( GPL-2 LGPL-2 X11)" SLOT="0" -KEYWORDS="~x86 ~ppc" +KEYWORDS="x86 ~ppc" IUSE="nptl" DEPEND="virtual/libc |