--- wmsystray-0.1.1.ebuild.orig 2008-03-31 22:14:19.846686457 +0100 +++ wmsystray-0.1.1.ebuild 2008-03-31 22:14:07.146687557 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmsystray/wmsystray-0.1.1.ebuild,v 1.10 2007/06/30 14:20:37 coldwind Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="Window Maker dock app that provides a system tray for GNOME/KDE applications" SRC_URI="http://kai.vm.bytemark.co.uk/~arashi/wmsystray/release/${P}.tar.bz2" @@ -30,7 +30,7 @@ } src_compile() { - emake EXTRACFLAGS="${CFLAGS}" || die "emake failed" + emake CC="$(tc-getCC)" EXTRACFLAGS="${CFLAGS}" || die "emake failed" } src_install() {