From 1433eeaf913325419f3ae76802c2d6651e52a689 Mon Sep 17 00:00:00 2001 From: Zack Welch Date: Thu, 27 Mar 2003 00:49:09 +0000 Subject: fix ebuild to respect CC for distcc builds (bug 18243) --- sys-apps/yaboot/ChangeLog | 7 ++++- sys-apps/yaboot/files/digest-yaboot-1.3.10-r2 | 1 + sys-apps/yaboot/yaboot-1.3.10-r2.ebuild | 38 +++++++++++++++++++++++++++ 3 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 sys-apps/yaboot/files/digest-yaboot-1.3.10-r2 create mode 100644 sys-apps/yaboot/yaboot-1.3.10-r2.ebuild (limited to 'sys-apps') diff --git a/sys-apps/yaboot/ChangeLog b/sys-apps/yaboot/ChangeLog index 213a635b03e7..bdc400904728 100644 --- a/sys-apps/yaboot/ChangeLog +++ b/sys-apps/yaboot/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/yaboot # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/yaboot/ChangeLog,v 1.15 2003/03/15 23:25:42 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yaboot/ChangeLog,v 1.16 2003/03/27 00:49:09 zwelch Exp $ + +*yaboot-1.3.10-r2 (26 Mar 2003) + + 26 Mar 2003; Zach Welch yaboot-1.3.10-r2.ebuild: + fix ebuild to respect CC for distcc builds (bug 18243) *yaboot-1.3.10-r1 (15 Mar 2003) diff --git a/sys-apps/yaboot/files/digest-yaboot-1.3.10-r2 b/sys-apps/yaboot/files/digest-yaboot-1.3.10-r2 new file mode 100644 index 000000000000..89c08fc0aa93 --- /dev/null +++ b/sys-apps/yaboot/files/digest-yaboot-1.3.10-r2 @@ -0,0 +1 @@ +MD5 9770dc5128b2aa45d16d2002a9565002 yaboot-1.3.10.tar.gz 273454 diff --git a/sys-apps/yaboot/yaboot-1.3.10-r2.ebuild b/sys-apps/yaboot/yaboot-1.3.10-r2.ebuild new file mode 100644 index 000000000000..263c1aa4f158 --- /dev/null +++ b/sys-apps/yaboot/yaboot-1.3.10-r2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yaboot/yaboot-1.3.10-r2.ebuild,v 1.1 2003/03/27 00:49:09 zwelch Exp $ + +inherit eutils + +S=${WORKDIR}/${P} +DESCRIPTION="PPC Bootloader" +SRC_URI="http://penguinppc.org/projects/yaboot/${P}.tar.gz" +HOMEPAGE="http://penguinppc.org/projects/yaboot/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="ppc -x86 -sparc -alpha" + +DEPEND="sys-apps/powerpc-utils + sys-apps/hfsutils + sys-apps/hfsplusutils" + +PROVIDE="virtual/bootloader" + +MAKEOPTS='PREFIX=/usr MANDIR=share/man' + +src_compile() { + export -n CFLAGS + export -n CXXFLAGS + # dual boot patch + epatch ${FILESDIR}/yabootconfig-${PV}.patch + emake ${MAKEOPTS} CC="${CC}" || 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 +} + -- cgit v1.2.3-65-gdbad