--- dcc-1.3.140-r1.ebuild 2013-06-13 22:15:41.587184487 +0200 +++ dcc-1.3.140-r1.ebuild 2013-06-13 22:36:16.068995089 +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/ @@ -99,7 +98,7 @@ # This package now takes "${D}" at compile-time! # make DESTDIR="${D}" DCC_BINDIR="${D}"/usr/bin MANDIR="${D}"/usr/share/man/man DCC_HOMEDIR="${D}"${dcc_homedir} install || die - emake install || die "emake install failed" + emake install # branding and setting reasonable defaults sed -e "s/BRAND=\$/BRAND='Gentoo ${PF}'/;" \