diff options
author | Zack Welch <zwelch@gentoo.org> | 2003-03-27 00:49:09 +0000 |
---|---|---|
committer | Zack Welch <zwelch@gentoo.org> | 2003-03-27 00:49:09 +0000 |
commit | 1433eeaf913325419f3ae76802c2d6651e52a689 (patch) | |
tree | 3e2aab0733bb1bf8e6a1ebba228b1064ecb73f6b /sys-apps | |
parent | repoman fix (diff) | |
download | gentoo-2-1433eeaf913325419f3ae76802c2d6651e52a689.tar.gz gentoo-2-1433eeaf913325419f3ae76802c2d6651e52a689.tar.bz2 gentoo-2-1433eeaf913325419f3ae76802c2d6651e52a689.zip |
fix ebuild to respect CC for distcc builds (bug 18243)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/yaboot/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/yaboot/files/digest-yaboot-1.3.10-r2 | 1 | ||||
-rw-r--r-- | sys-apps/yaboot/yaboot-1.3.10-r2.ebuild | 38 |
3 files changed, 45 insertions, 1 deletions
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 <zwelch@gentoo.org> 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 +} + |