--- dcc-1.3.140-r1.ebuild 2013-06-13 22:15:41.587184487 +0200 +++ dcc-1.3.140-r1.ebuild 2013-06-13 22:23:08.337839732 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-filter/dcc/dcc-1.3.140-r1.ebuild,v 1.10 2012/12/30 14:27:13 ago Exp $ -EAPI=2 +EAPI=5 inherit eutils flag-o-matic toolchain-funcs @@ -34,6 +34,8 @@ } src_configure() { + tc-export CC AR RANLIB + local myconf myconf="${myconf} --homedir=${dcc_homedir}" myconf="${myconf} --bindir=/usr/bin" @@ -71,9 +73,6 @@ ./configure ${myconf} || die "configure failed!" } -src_compile() { - emake CC="$(tc-getCC)" || die "emake failed!" -} moveconf() { local into=/etc/dcc/