diff -ur xml2doc.orig/xml2doc-20030510-r1.ebuild xml2doc/xml2doc-20030510-r1.ebuild --- xml2doc.orig/xml2doc-20030510-r1.ebuild 2011-02-23 00:36:27.000000000 +0800 +++ xml2doc/xml2doc-20030510-r1.ebuild 2012-03-24 00:19:49.484291470 +0800 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/xml2doc/xml2doc-20030510-r1.ebuild,v 1.10 2011/02/22 16:36:27 scarabeus Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Tool to convert simple XML to a variety of formats (pdf, html, txt, manpage)" @@ -37,7 +37,7 @@ src_compile() { econf --disable-pdf - emake || die "Compilation failed" + emake CC="$(tc-getCC)" || die "Compilation failed" cd "${S}/doc" "${S}"/src/xml2doc -oM manpage.xml xml2doc.1 || die