/[gentoo-x86]/dev-haskell/cpphs/cpphs-1.19.ebuild
Gentoo

Contents of /dev-haskell/cpphs/cpphs-1.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sun Jul 26 14:16:05 2015 UTC (4 years, 5 months ago) by slyfox
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +6 -0 lines
Disable HCFLAGS='-g', it breaks ghc-7.10.

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

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=5
6
7 # ebuild generated by hackport 0.4.5.9999
8
9 CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
10 inherit haskell-cabal
11
12 DESCRIPTION="A liberalised re-implementation of cpp, the C pre-processor"
13 HOMEPAGE="http://projects.haskell.org/cpphs/"
14 SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
15
16 LICENSE="LGPL-2.1"
17 SLOT="0/${PV}"
18 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
19 IUSE=""
20
21 RDEPEND="dev-haskell/old-locale:=[profile?]
22 dev-haskell/old-time:=[profile?]
23 >=dev-haskell/polyparse-1.9:=[profile?]
24 >=dev-lang/ghc-7.4.1:=
25 "
26 DEPEND="${RDEPEND}
27 >=dev-haskell/cabal-1.6
28 "
29
30 src_prepare() {
31 # https://ghc.haskell.org/trac/ghc/ticket/10667
32 [[ $(ghc-version) == 7.10.1.20150630 ]] && replace-hcflags -g ''
33 [[ $(ghc-version) == 7.10.2 ]] && replace-hcflags -g ''
34 }

  ViewVC Help
Powered by ViewVC 1.1.20