--- ircii-20111115.ebuild 2011-12-02 01:17:56.000000000 +0100 +++ ircii-20111115-r1.ebuild 2011-12-04 11:34:00.306919788 +0100 @@ -4,7 +4,7 @@ EAPI=4 -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="An IRC and ICB client that runs under most UNIX platforms" SRC_URI="ftp://ircii.warped.com/pub/ircII/${P}.tar.bz2 @@ -27,6 +27,10 @@ econf $(use_enable ipv6) } +src_compile() { + emake CC="$(tc-getCC)" +} + src_install() { emake -j1 DESTDIR="${D}" install