--- gcc-3.4.3.ebuild 2004-11-24 00:26:13.000000000 -0500 +++ gcc-3.4.3-r1.ebuild 2004-11-26 23:32:20.110436360 -0500 @@ -1,12 +1,12 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.3.ebuild,v 1.12 2004/11/21 23:03:06 lv Exp $ +# $Header: $ DESCRIPTION="The GNU Compiler Collection. Includes C/C++, java compilers, pie+ssp extensions, Haj Ten Brugge runtime bounds checking" HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" LICENSE="GPL-2 LGPL-2.1" -KEYWORDS="-* amd64 ~mips ~ppc64 ~x86 -hppa ~ppc ~sparc" +KEYWORDS="-* ~amd64 ~mips ~ppc64 ~x86 -hppa ~ppc ~sparc" # we need a proper glibc version for the Scrt1.o provided to the pie-ssp specs # we also need at least glibc 2.3.3 20040420-r1 in order for gcc 3.4 not to nuke @@ -160,6 +160,15 @@ autoreconf 2> /dev/null cd ${S} fi + + # Armando Di Cianno + # If 'libffi' USE flag is set, we add target-libffi the list of + # install targets, and remove it from the deps of any targets + # which are only on by USE flag (for now, only gcj) but user has + # configured to be off + if use libffi && ! use gcj ; then + epatch ${FILESDIR}/libffi-without-libgcj.patch + fi }