summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild')
-rw-r--r--dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild b/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild
index f78b09fff2e5..47bf675eb502 100644
--- a/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild
+++ b/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild
@@ -1,10 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild,v 1.1 2012/04/02 17:02:03 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild,v 1.2 2012/06/02 06:24:48 gienah Exp $
-# ebuild generated by hackport 0.2.14
-
-EAPI="3"
+EAPI=4
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
@@ -21,3 +19,10 @@ IUSE=""
RDEPEND=">=dev-lang/ghc-6.8.2"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"
+
+src_prepare() {
+ if has_version ">=dev-lang/ghc-7.5.20120511"; then
+ # change the unicode -> to ascii ->
+ epatch "${FILESDIR}/${PN}-0.2.2.3-ghc-7.5.patch"
+ fi
+}