dev-haskell/geniplate: allow ghc-7.10, bug #561178
authorSergei Trofimovich <slyfox@gentoo.org>
Wed, 23 Sep 2015 07:36:14 +0000 (08:36 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Wed, 23 Sep 2015 07:36:14 +0000 (08:36 +0100)
Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/561178

Package-Manager: portage-2.2.20

dev-haskell/geniplate/geniplate-0.6.0.5.ebuild

index 228b1fa593211505add68956e78003a1975b313f..e13334dca6620dcf0ccd10d6fb4b4a52b69cc187 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -24,3 +24,8 @@ RDEPEND="dev-haskell/mtl:=[profile?]
 DEPEND="${RDEPEND}
        >=dev-haskell/cabal-1.8
 "
+
+src_prepare() {
+       cabal_chdeps \
+               'template-haskell < 2.10' 'template-haskell'
+}