From 21435953e16cda318a82334ddbadb3b5c36d9ea7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 15 Jan 2020 15:51:32 +0000 Subject: gentoo resync : 15.01.2020 --- dev-lang/ghc/ghc-8.8.1.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'dev-lang/ghc/ghc-8.8.1.ebuild') diff --git a/dev-lang/ghc/ghc-8.8.1.ebuild b/dev-lang/ghc/ghc-8.8.1.ebuild index b91c9d0ba44d..7b8c9321190f 100644 --- a/dev-lang/ghc/ghc-8.8.1.ebuild +++ b/dev-lang/ghc/ghc-8.8.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -30,7 +30,7 @@ BIN_PV=${PV} arch_binaries="$arch_binaries amd64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-x86_64-pc-linux-gnu.tbz2 )" #arch_binaries="$arch_binaries ia64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ia64-fixed-fiw.tbz2 )" #arch_binaries="$arch_binaries ppc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc.tbz2 )" -#arch_binaries="$arch_binaries ppc64? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-ppc64.tbz2 )" +arch_binaries="$arch_binaries ppc64? ( !big-endian? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-powerpc64le-unknown-linux-gnu.tbz2 ) )" #arch_binaries="$arch_binaries sparc? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-sparc.tbz2 )" arch_binaries="$arch_binaries x86? ( https://slyfox.uni.cx/~slyfox/distfiles/ghc-bin-${PV}-i686-pc-linux-gnu.tbz2 )" @@ -46,7 +46,10 @@ yet_binary() { amd64) return 0 ;; #ia64) return 0 ;; #ppc) return 0 ;; - #ppc64) return 0 ;; + ppc64) + use big-endian && return 1 + return 0 + ;; #sparc) return 0 ;; x86) return 0 ;; *) return 1 ;; @@ -72,9 +75,9 @@ BUMP_LIBRARIES=( LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="" -IUSE="doc elfutils ghcbootstrap ghcmakebinary +gmp numa profile test" -RESTRICT="!test? ( test )" +IUSE="big-endian doc elfutils ghcbootstrap ghcmakebinary +gmp numa profile test" IUSE+=" binary" +RESTRICT="!test? ( test )" RDEPEND=" >=dev-lang/perl-5.6.1 -- cgit v1.2.3