sys-firmware/seabios: add keywords for everyone #570876
authorMike Frysinger <vapier@gentoo.org>
Mon, 4 Jan 2016 19:23:13 +0000 (14:23 -0500)
committerMike Frysinger <vapier@gentoo.org>
Mon, 4 Jan 2016 19:26:56 +0000 (14:26 -0500)
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

index 2c8d4883369af8ef70b1dd9d7903cae14df0ed18..02b9e6f0fb29a4eca1a7e5ae0fe2a976de2785a1 100644 (file)
@@ -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() {