commit:     f307abf0bacb381d0cf037632c6e10ccd57c3d1e
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue May 16 21:18:54 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue May 16 21:19:10 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f307abf0

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 4fa5a429c1b..ed5746eb2b6 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) \

Reply via email to