From 7676341cc7c05db4b1753b57261cb805aced32c4 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 19 Sep 2015 14:56:38 +0100 Subject: [PATCH] dev-haskell/sha: amd64, x86 stable, bug #559988 Package-Manager: portage-2.2.20 --- dev-haskell/sha/sha-1.6.4.2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-haskell/sha/sha-1.6.4.2.ebuild b/dev-haskell/sha/sha-1.6.4.2.ebuild index c1c37c05ab7f..e796c590c23c 100644 --- a/dev-haskell/sha/sha-1.6.4.2.ebuild +++ b/dev-haskell/sha/sha-1.6.4.2.ebuild @@ -19,9 +19,11 @@ SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz" LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86 ~amd64-linux" +KEYWORDS="amd64 x86 ~amd64-linux" IUSE="exe" +RESTRICT=test # fails to build on ghc-7.6, https://ghc.haskell.org/trac/ghc/ticket/8657 + RDEPEND=">=dev-haskell/binary-0.7:=[profile?] =dev-lang/ghc-7.4.1:= " @@ -34,6 +36,11 @@ DEPEND="${RDEPEND} S="${WORKDIR}/${MY_P}" +src_prepare() { + cabal_chdeps \ + ' -O2' ' ' +} + src_configure() { haskell-cabal_src_configure \ --flag=decoderinterface \ -- 2.26.2