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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Dec 26 07:50:42 2012 UTC (20 months, 3 weeks ago) by slyfox
Branch: MAIN
Changes since 1.1: +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.7.ebuild,v 1.1 2012/11/18 14:05:07 gienah Exp $
4
5 EAPI=5
6
7 # ebuild generated by hackport 0.3.9999
8
9 CABAL_FEATURES="lib profile haddock hoogle hscolour"
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/${PV}"
18 KEYWORDS="~amd64 ~ppc64 ~x86"
19 IUSE="+generic +parsec +pretty"
20
21 RDEPEND="dev-haskell/mtl:=[profile?]
22 dev-haskell/text:=[profile?]
23 parsec? ( dev-haskell/parsec:=[profile?] )
24 generic? ( >=dev-haskell/syb-0.3.3:=[profile?] )
25 >=dev-lang/ghc-6.10.4:="
26 DEPEND="${RDEPEND}
27 >=dev-haskell/cabal-1.2.0"
28
29 src_configure() {
30 [[ $(ghc-version) == "6.12.3" ]] && HCFLAGS+=" -O0" #427838
31
32 cabal_src_configure \
33 $(cabal_flag generic) \
34 $(cabal_flag parsec) \
35 $(cabal_flag pretty)
36 }

  ViewVC Help
Powered by ViewVC 1.1.20