--- capi4k-utils-20050718-r5.ebuild.orig 2013-01-20 18:01:22.000000000 +0400 +++ capi4k-utils-20050718-r5.ebuild 2013-05-06 15:25:33.000000000 +0400 @@ -103,9 +103,16 @@ } src_configure() { + # bugs 468662 and 468666 - we NEED to redefine AR and CC both with tc-export and at compile phase + tc-export AR CC emake subconfig || die "emake subconfig failed" } +src_compile() { + # bug 468662 and 468666 - we NEED to redefine AR and CC both with tc-export and at compile phase + emake AR="$(tc-getAR)" CC="$(tc-getCC)" || die "emake failed" +} + src_install() { emake DESTDIR="${D}" install || die "emake install failed"