1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 # ebuild generated by hackport 0.4.6.9999
8 CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
11 DESCRIPTION="Atomic bit operations on memory locations for low-level synchronization"
12 HOMEPAGE="http://hackage.haskell.org/package/bits-atomic"
13 SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz
14 https://dev.gentoo.org/~slyfox/patches/${P}-gcc-5.patch"
18 KEYWORDS="~amd64 ~x86"
21 RDEPEND=">=dev-lang/ghc-7.4.1:=
24 >=dev-haskell/cabal-1.8
25 test? ( dev-haskell/hunit
26 dev-haskell/quickcheck
27 dev-haskell/test-framework
28 dev-haskell/test-framework-hunit
29 dev-haskell/test-framework-quickcheck2 )
33 epatch "${DISTDIR}"/${P}-gcc-5.patch
34 epatch "${FILESDIR}"/${P}-ghc-8.patch