Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 3722 Details for
Bug 7044
Crafty doesn't link correctly with gcc3.x
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
updated ebuild
crafty-18.15-r1.ebuild (text/plain), 2.29 KB, created by
Jonathan Kelly (RETIRED)
on 2002-09-07 06:40:18 UTC
(
hide
)
Description:
updated ebuild
Filename:
MIME Type:
Creator:
Jonathan Kelly (RETIRED)
Created:
2002-09-07 06:40:18 UTC
Size:
2.29 KB
patch
obsolete
># Copyright 1999-2002 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License, v2 or later ># $Header: /home/cvsroot/gentoo-x86/app-games/crafty/crafty-18.15-r1.ebuild,v 1.3 2002/08/07 15:20:59 gerk Exp $ > >S=${WORKDIR} >DESCRIPTION="chess engine" >SRC_URI="ftp://ftp.cis.uab.edu/pub/hyatt/v18/crafty-18.15.tar.gz" >HOMEPAGE="ftp://ftp.cis.uab.edu/pub/hyatt" >LICENSE="GPL" >SLOT="0" >KEYWORDS="x86 ppc" > >DEPEND="virtual/glibc > icc? ( >=dev-lang/icc-5.0 )" > >RDEPEND="virtual/glibc" > >src_compile() >{ > local makeopts opt > > makeopts="${makeopts} CC=gcc CXX=g++ target=LINUX" > > cd ${S} > mv Makefile Makefile.bak > sed "/-o crafty/s/CC/CXX/" Makefile.bak > Makefile > > if use icc; then > > makeopts="${makeopts} CC=icc CXX=gcc" > > CFLAGS="-D_REENTRANT -O2 -fno-alias -tpp6" > CFLAGS="${CFLAGS} -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 -DCLONE -DDGT" > > CXFLAGS="-Wall -pipe -D_REENTRANT -march=i686 -O" > CXFLAGS="${CXFLAGS} -Wall -fforce-mem -fomit-frame-pointer -fno-gcse -mpreferred-stack-boundary=2" > > makeopts="${makeopts} asm=X86-elf.o" > > else > > if test "${CHOST}" = "i686-pc-linux-gnu"-o "${CHOST}" = "i586-pc-linux-gnu"; > then > > # i586/i686 enhancements > > CFLAGS="${CFLAGS}" > CFLAGS="${CFLAGS} -fforce-mem -fomit-frame-pointer -fno-gcse -mpreferred-stack-boundary=2" > makeopts="${makeopts} asm=X86-elf.o" > CFLAGS="${CFLAGS} -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4 -DCLONE -DDGT" > > else > > # fallback > > # let everything as is, is wont be optimized, but compile will hopefully work > > # not tested for ppc until now > > makeopts="${makeopts}" > fi > fi > > #added patch to close bug #5392 - Gerk > if [ ${ARCH} = "ppc" ] ; then > patch -p0 < ${FILESDIR}/crafty-18.15-ppc.patch > fi > > make ${makeopts} CXX=g++ crafty-make || die >} > >src_install () >{ > cd ${S} > exeinto /usr/bin > doexe crafty >} > >pkg_postinstall () { > einfo > einfo "Note: No books or tablebases have been installed. If you want them, just" > einfo " download them from ${HOMEPAGE}." > einfo " You will find documentation there too. In most cases you take now " > einfo " your xboard compatible application, (xboard, eboard, knights) and " > einfo " just play chess against computer opponent. Have fun." > einfo >} >
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 7044
: 3722