commit:     9ce92a3e0e039149660f833a9fe470d9dc0eb453
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Jan  4 19:23:13 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Jan  4 19:26:56 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ce92a3e

sys-firmware/seabios: add keywords for everyone #570876

We invert the REQUIRED_USE logic so it forces USE=binary for all
non-x86 arches.  That way installing binaries works regardless of
the architecture.

 sys-firmware/seabios/seabios-1.8.2.ebuild | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/sys-firmware/seabios/seabios-1.8.2.ebuild 
b/sys-firmware/seabios/seabios-1.8.2.ebuild
index 2c8d488..02b9e6f 100644
--- a/sys-firmware/seabios/seabios-1.8.2.ebuild
+++ b/sys-firmware/seabios/seabios-1.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -17,7 +17,7 @@ if [[ ${PV} = *9999* || ! -z "${EGIT_COMMIT}" ]]; then
        EGIT_REPO_URI="git://git.seabios.org/seabios.git"
        inherit git-2
 else
-       KEYWORDS="amd64 ~ppc ~ppc64 x86 ~amd64-fbsd ~x86-fbsd"
+       KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd"
        # Upstream hasn't released a new binary.  We snipe ours from Fedora for 
now.
        # http://code.coreboot.org/p/seabios/downloads/get/bios.bin-${PV}.gz
        SRC_URI="!binary? ( 
http://code.coreboot.org/p/seabios/downloads/get/${P}.tar.gz )
@@ -35,14 +35,14 @@ SLOT="0"
 IUSE="+binary debug +seavgabios"
 
 REQUIRED_USE="debug? ( !binary )
-       ppc? ( binary )
-       ppc64? ( binary )"
+       !amd64? ( !x86? ( binary ) )"
 
+# The amd64/x86 check is needed to workaround #570892.
 DEPEND="
-       !binary? (
+       amd64? ( x86? ( !binary? (
                >=sys-power/iasl-20060912
                ${PYTHON_DEPS}
-       )"
+       ) ) )"
 RDEPEND=""
 
 pkg_pretend() {

Reply via email to