summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDuncan Coutts <dcoutts@gentoo.org>2007-12-13 05:47:02 +0000
committerDuncan Coutts <dcoutts@gentoo.org>2007-12-13 05:47:02 +0000
commita10da797fc9e97f5763614883a8dfdefd24175cc (patch)
treebfa8ffee9963641bb11a8db4443588492da911ec /dev-haskell/mtl/mtl-1.0.1.ebuild
parentUpdates for upward compatability with cabal-1.2 and ghc-6.8 (diff)
downloadgentoo-2-a10da797fc9e97f5763614883a8dfdefd24175cc.tar.gz
gentoo-2-a10da797fc9e97f5763614883a8dfdefd24175cc.tar.bz2
gentoo-2-a10da797fc9e97f5763614883a8dfdefd24175cc.zip
Updates for upward compatability with cabal-1.2 and ghc-6.8
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-haskell/mtl/mtl-1.0.1.ebuild')
-rw-r--r--dev-haskell/mtl/mtl-1.0.1.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-haskell/mtl/mtl-1.0.1.ebuild b/dev-haskell/mtl/mtl-1.0.1.ebuild
index e9781804cea7..872462b5f302 100644
--- a/dev-haskell/mtl/mtl-1.0.1.ebuild
+++ b/dev-haskell/mtl/mtl-1.0.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/mtl/mtl-1.0.1.ebuild,v 1.5 2007/12/12 13:24:30 fmccor Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/mtl/mtl-1.0.1.ebuild,v 1.6 2007/12/13 05:47:02 dcoutts Exp $
CABAL_FEATURES="lib profile haddock"
inherit haskell-cabal
@@ -20,8 +20,7 @@ DEPEND=">=dev-lang/ghc-6.6"
S="${WORKDIR}/ghc-${GHC_PV}/libraries/${PN}"
-# Sadly Setup.hs in the ghc-6.6.1 extralibs was not tested with Cabal-1.1.6.x
src_unpack() {
unpack "${A}"
- sed -i -e "/type Hook/ s/UserHooks/Maybe UserHooks/" "${S}/Setup.hs"
+ cabal-mksetup
}