diff options
Diffstat (limited to 'sys-boot/yaboot/yaboot-1.3.11-r1.ebuild')
-rw-r--r-- | sys-boot/yaboot/yaboot-1.3.11-r1.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/sys-boot/yaboot/yaboot-1.3.11-r1.ebuild b/sys-boot/yaboot/yaboot-1.3.11-r1.ebuild index 51e20831308d..bf67a126528a 100644 --- a/sys-boot/yaboot/yaboot-1.3.11-r1.ebuild +++ b/sys-boot/yaboot/yaboot-1.3.11-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.11-r1.ebuild,v 1.7 2005/07/03 13:14:24 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/yaboot/yaboot-1.3.11-r1.ebuild,v 1.8 2005/07/12 00:55:18 josejx Exp $ inherit eutils toolchain-funcs @@ -19,8 +19,6 @@ DEPEND="sys-apps/powerpc-utils PROVIDE="virtual/bootloader" -MAKEOPTS='PREFIX=/usr MANDIR=share/man' - src_compile() { export -n CFLAGS export -n CXXFLAGS @@ -30,12 +28,13 @@ src_compile() { epatch ${FILESDIR}/chrpfix.patch #took from http://penguinppc.org/~eb/files/ofpath epatch ${FILESDIR}/${P}-ofpath-fix.patch - emake ${MAKEOPTS} CC="$(tc-getCC)" || die + emake PREFIX=/usr MANDIR=share/man CC="$(tc-getCC)" || die + } src_install() { cp etc/yaboot.conf etc/yaboot.conf.bak sed -e 's/\/local//' etc/yaboot.conf >| etc/yaboot.conf.edit mv -f etc/yaboot.conf.edit etc/yaboot.conf - make ROOT=${D} ${MAKEOPTS} install || die + make ROOT=${D} PREFIX=/usr MANDIR=share/man install || die } |