From f307abf0bacb381d0cf037632c6e10ccd57c3d1e Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 16 May 2017 22:18:54 +0100 Subject: [PATCH] dev-haskell/snap-core: allow ghc-8, bug #611706 Reported-by: Zentoo Bug: https://bugs.gentoo.org/611706 Package-Manager: Portage-2.3.5, Repoman-2.3.2 --- dev-haskell/snap-core/snap-core-0.9.8.0.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-haskell/snap-core/snap-core-0.9.8.0.ebuild b/dev-haskell/snap-core/snap-core-0.9.8.0.ebuild index 4fa5a429c1b49..ed5746eb2b611 100644 --- a/dev-haskell/snap-core/snap-core-0.9.8.0.ebuild +++ b/dev-haskell/snap-core/snap-core-0.9.8.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -43,6 +43,13 @@ DEPEND="${RDEPEND} >=dev-haskell/cabal-1.8 " +src_prepare() { + default + + cabal_chdeps \ + 'time >= 1.0 && < 1.6' 'time >= 1.0' +} + src_configure() { haskell-cabal_src_configure \ $(cabal_flag debug debug) \