--- wmdl-1.4.1.ebuild.orig 2008-03-31 19:16:50.266686990 +0100 +++ wmdl-1.4.1.ebuild 2008-03-31 19:16:38.826691509 +0100 @@ -2,9 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmdl/wmdl-1.4.1.ebuild,v 1.14 2007/07/22 05:12:49 dberkholz Exp $ -inherit eutils +inherit eutils toolchain-funcs -IUSE="" DESCRIPTION="WindowMaker Doom Load dockapp" HOMEPAGE="http://the.homepage.doesnt.appear.to.exist.anymore.com" SRC_URI="http://www.ibiblio.org/pub/linux/distributions/gentoo/distfiles/${P}.tar.gz" @@ -12,6 +11,7 @@ LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc ~sparc x86" +IUSE="" RDEPEND="x11-libs/libX11 x11-libs/libXext @@ -22,13 +22,13 @@ src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/makefile.diff + cd "${S}" + epatch "${FILESDIR}"/makefile.diff } src_compile() { - make || die "parallel make failed" + emake CC="$(tc-getCC)" || die "parallel make failed" } src_install() {