/[gentoo-x86]/dev-haskell/json/json-0.4.4.ebuild
Gentoo

Contents of /dev-haskell/json/json-0.4.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Dec 26 07:50:42 2012 UTC (20 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +3 -1 lines
Workaround bug #427838 where ghc-6.12.3 hangs building Text.JSON.Parsec by jinleileiking@gmail.com and others.

(Portage version: 2.2.0_alpha149_p11/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-haskell/json/json-0.4.4.ebuild,v 1.3 2012/11/11 17:56:10 slyfox Exp $
4
5 # ebuild generated by hackport 0.2.13
6
7 EAPI="3"
8
9 CABAL_FEATURES="lib profile haddock hscolour"
10 inherit base haskell-cabal
11
12 DESCRIPTION="Support for serialising Haskell to and from JSON"
13 HOMEPAGE="http://hackage.haskell.org/package/json"
14 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
15
16 LICENSE="BSD"
17 SLOT="0"
18 KEYWORDS="~amd64 ~ppc64 ~x86"
19 IUSE="+generic +parsec +pretty"
20
21 RDEPEND="dev-haskell/mtl
22 >=dev-lang/ghc-6.10.4
23 generic? ( dev-haskell/syb )
24 parsec? ( dev-haskell/parsec )
25 "
26
27 DEPEND="${RDEPEND}
28 >=dev-haskell/cabal-1.2.0"
29
30 PATCHES=("${FILESDIR}"/${PN}-0.4.3-ghc-7.4.patch)
31
32 src_configure() {
33 [[ $(ghc-version) == "6.12.3" ]] && HCFLAGS+=" -O0" #427838
34
35 cabal_src_configure \
36 $(cabal_flag generic) \
37 $(cabal_flag parsec) \
38 $(cabal_flag pretty)
39 }

  ViewVC Help
Powered by ViewVC 1.1.20