--- /tmp/realpath-1.9.28.ebuild 2006-04-20 22:35:21.000000000 +0200 +++ realpath-1.9.28.ebuild 2006-10-21 14:28:48.000000000 +0200 @@ -1,6 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/realpath/realpath-1.9.28.ebuild,v 1.3 2006/04/20 20:10:31 flameeyes Exp $ +# $Header: $ + +inherit eutils toolchain-funcs DESCRIPTION="Return the canonicalized absolute pathname" HOMEPAGE="http://packages.debian.org/unstable/utils/realpath.html" @@ -31,10 +33,12 @@ else unpack ${A} fi + cd "${S}" + epatch "${FILESDIR}"/${PN}-flags.patch } src_compile() { - make LIBS='' VERSION="$PV" realpath || die + make CC=$(tc-getCC) LIBS='' VERSION="${PV}" realpath || die "make ${PN} failed" } src_install() {