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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Dec 26 07:50:42 2012 UTC (15 months, 3 weeks ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +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.5.ebuild,v 1.2 2012/09/12 14:57:34 qnikst Exp $
4
5 # ebuild generated by hackport 0.2.13
6
7 EAPI="3"
8
9 CABAL_FEATURES="lib profile haddock hscolour hoogle"
10 inherit 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-0.3.3 )
24 parsec? ( dev-haskell/parsec )
25 "
26
27 DEPEND="${RDEPEND}
28 >=dev-haskell/cabal-1.2.0"
29
30 src_configure() {
31 [[ $(ghc-version) == "6.12.3" ]] && HCFLAGS+=" -O0" #427838
32
33 cabal_src_configure \
34 $(cabal_flag generic) \
35 $(cabal_flag parsec) \
36 $(cabal_flag pretty)
37 }

  ViewVC Help
Powered by ViewVC 1.1.20