diff options
author | Mark Guertin <gerk@gentoo.org> | 2002-06-22 00:20:57 +0000 |
---|---|---|
committer | Mark Guertin <gerk@gentoo.org> | 2002-06-22 00:20:57 +0000 |
commit | 5db6ab5ce6bdea2da32381a824d57a14dff03fdb (patch) | |
tree | f6e444aff71e8e3502e6e702359244c84c8af110 | |
parent | cleanup and slotify (diff) | |
download | gentoo-2-5db6ab5ce6bdea2da32381a824d57a14dff03fdb.tar.gz gentoo-2-5db6ab5ce6bdea2da32381a824d57a14dff03fdb.tar.bz2 gentoo-2-5db6ab5ce6bdea2da32381a824d57a14dff03fdb.zip |
ARCH check adjustment and added missing evn vars to build
-rw-r--r-- | sys-apps/yaboot/Changelog | 7 | ||||
-rw-r--r-- | sys-apps/yaboot/yaboot-1.3.6-r1.ebuild | 19 |
2 files changed, 18 insertions, 8 deletions
diff --git a/sys-apps/yaboot/Changelog b/sys-apps/yaboot/Changelog index 729566a6c7ab..8ae8d2dea1f4 100644 --- a/sys-apps/yaboot/Changelog +++ b/sys-apps/yaboot/Changelog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/yaboot # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Id: Changelog,v 1.1 2002/04/27 10:41:10 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yaboot/Changelog,v 1.2 2002/06/22 00:20:57 gerk Exp $ + +*yaboot-1.3.6-r1 (June 21 2002); Gerk (gerk@gentoo.org) + + Adjusted ARCH check and added RDEPEND, SLOT, LICENSE to build + (no -r1 as no need to recompile for this) *yaboot-1.3.6-r1 (Wed Apr 24 17:09:25 2002 CEST); pvdabeel <pvdabeel@gentoo.org>: diff --git a/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild b/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild index a35bc01bfb0d..2c339999fa29 100644 --- a/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild +++ b/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild @@ -1,21 +1,26 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild,v 1.2 2002/06/21 20:44:48 gerk Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/yaboot/yaboot-1.3.6-r1.ebuild,v 1.3 2002/06/22 00:20:57 gerk Exp $ S=${WORKDIR}/${P} DESCRIPTION="PPC Bootloader" SRC_URI="http://penguinppc.org/projects/yaboot/${P}.tar.gz" HOMEPAGE="http://penguinppc.org/projects/yaboot/" DEPEND="sys-apps/powerpc-utils sys-apps/hfsutils" - +RDEPEND="" MAKEOPTS='PREFIX=/usr MANDIR=share/man' +SLOT="0" +LICENSE="GPL" -src_compile() { - if [ ${ARCH} = "x86" ] ; then - einfo "PPC Only build, sorry" - exit 1 - fi +pkg_setup() { + if [ ${ARCH} != "ppc" ] ; then + eerror "Sorry, this is a PPC only package." + die "Sorry, this as a PPC only pacakge." + fi +} + +src_compile() { export -n CFLAGS export -n CXXFLAGS emake ${MAKEOPTS} || die |