--- gpac-0.4.2-r1.ebuild.orig 2006-11-23 20:57:37.000000000 +0100 +++ gpac-0.4.2-r1.ebuild 2006-11-24 11:26:02.000000000 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-video/gpac/gpac-0.4.2-r1.ebuild,v 1.1 2006/11/23 19:57:37 aballier Exp $ -inherit eutils wxwidgets flag-o-matic multilib +inherit eutils wxwidgets flag-o-matic multilib toolchain-funcs DESCRIPTION="GPAC is an implementation of the MPEG-4 Systems standard developed from scratch in ANSI C." HOMEPAGE="http://gpac.sourceforge.net/" @@ -132,7 +132,7 @@ $(my_use xvid) \ ${myconf} || die "configure died" - make OPTFLAGS="${CFLAGS}" || die "emake failed." + make CC=$(tc-getCC) OPTFLAGS="${CFLAGS}" || die "emake failed." } src_install() {