From: Sergei Trofimovich Date: Tue, 16 May 2017 21:18:54 +0000 (+0100) Subject: dev-haskell/snap-core: allow ghc-8, bug #611706 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=f307abf0bacb381d0cf037632c6e10ccd57c3d1e;p=gentoo.git 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 --- 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 4fa5a429c1b4..ed5746eb2b61 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) \