Index: powerpc-utils-1.1.3.18-r1.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-apps/powerpc-utils/powerpc-utils-1.1.3.18-r1.ebuild,v retrieving revision 1.2 diff -u -B -r1.2 powerpc-utils-1.1.3.18-r1.ebuild --- powerpc-utils-1.1.3.18-r1.ebuild 17 Apr 2009 14:47:46 -0000 1.2 +++ powerpc-utils-1.1.3.18-r1.ebuild 5 Aug 2009 04:11:28 -0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/powerpc-utils/powerpc-utils-1.1.3.18-r1.ebuild,v 1.2 2009/04/17 14:47:46 ranger Exp $ -inherit eutils versionator +inherit eutils versionator toolchain-funcs BASEVER=$(get_version_component_range 1-3) DEBREV=$(get_version_component_range 4) @@ -25,12 +25,14 @@ src_unpack() { unpack ${A} cd ${S} - epatch ${WORKDIR}/${PN}_${BASEVER}-${DEBREV}.diff - epatch ${WORKDIR}/${PN}-cleanup.patch + epatch "${WORKDIR}/${PN}_${BASEVER}-${DEBREV}.diff" + epatch "${WORKDIR}/${PN}-cleanup.patch" + epatch "${FILESDIR}/${P}-compiler.patch" } src_compile() { - emake CFLAGS="$CFLAGS -fsigned-char -D_GNU_SOURCE" || die + tc-export CC + emake || die } src_install() {