--- wmbio-1.02.ebuild.orig 2008-11-28 18:14:15.229338206 +0000 +++ wmbio-1.02.ebuild 2008-11-28 18:14:43.035076174 +0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmbio/wmbio-1.02.ebuild,v 1.10 2008/11/25 23:33:51 tcunha Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="a Window Maker applet that shows your biorhythm" SRC_URI="http://wmbio.sourceforge.net/${P}.tar.gz" @@ -26,6 +26,8 @@ cd "${S}" # Honour Gentoo CFLAGS epatch "${FILESDIR}"/${PN}-Makefile.patch + # Fix hardcoded CC + sed -i "s/cc/$(tc-getCC)/" Makefile || die "sed cc failed." } src_compile() { @@ -34,5 +36,5 @@ src_install () { dobin wmbio || die "dobin failed." - dodoc ../{AUTHORS,ChangeLog,NEWS,README} + dodoc ../{AUTHORS,Changelog,NEWS,README} }