summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2015-09-19 14:56:38 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2015-09-19 16:52:40 +0100
commit7676341cc7c05db4b1753b57261cb805aced32c4 (patch)
treee9642294138a0b652990bdbf047a97e1390243fe /dev-haskell/sha
parentdev-haskell/test-framework: amd64, x86 stable, bug #559988 (diff)
downloadgentoo-7676341cc7c05db4b1753b57261cb805aced32c4.tar.gz
gentoo-7676341cc7c05db4b1753b57261cb805aced32c4.tar.bz2
gentoo-7676341cc7c05db4b1753b57261cb805aced32c4.zip
dev-haskell/sha: amd64, x86 stable, bug #559988
Package-Manager: portage-2.2.20
Diffstat (limited to 'dev-haskell/sha')
-rw-r--r--dev-haskell/sha/sha-1.6.4.2.ebuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-haskell/sha/sha-1.6.4.2.ebuild b/dev-haskell/sha/sha-1.6.4.2.ebuild
index c1c37c05ab7..e796c590c23 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-haskell/binary-10000:=[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 \