Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 46098 Details for
Bug 72770
CorLib GetFullPath mangles unix escapes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
new mono ebuild that builds mcs + class libs.
mono-1.0.5-r3.ebuild (text/plain), 3.77 KB, created by
Peter Johanson (RETIRED)
on 2004-12-15 19:49:59 UTC
(
hide
)
Description:
new mono ebuild that builds mcs + class libs.
Filename:
MIME Type:
Creator:
Peter Johanson (RETIRED)
Created:
2004-12-15 19:49:59 UTC
Size:
3.77 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/dev-dotnet/mono/mono-1.0.5-r1.ebuild,v 1.1 2004/12/13 19:46:35 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 ~amd64" >IUSE="nptl" > >DEPEND="virtual/libc > >=dev-libs/glib-2.0 > >=dev-libs/icu-2.6.1 > !dev-dotnet/pnet > 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 man page > sed -i "s:man/man1:share/man/man1:" ${MCS_S}/jay/Makefile > > for file in $(find ${MCS_S}/nunit20 -name AssemblyInfo.cs) > do > sed -i "s:\.\.\\\\\\\\:../:g" "${file}" > done > > # 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_PATH="${S}/runtime/net_1_1:${MONO_PATH}" > export PATH > # export MONO_PATH >} > >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 compilation failure" > > echo "PWD: $(PWD)" > sleep 10 > > cd ${S} > ln -s ../runtime ${WORKDIR}/${P}/runtime/lib > > 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 > make || die "MCS 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 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 >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 72770
: 46098 |
46099