# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 # ebuild generated by hackport 0.8.5.1.9999 #hackport: flags: selftest:test CABAL_FEATURES="" inherit haskell-cabal DESCRIPTION="GHC build system" HOMEPAGE="https://gitlab.haskell.org/ghc/ghc/-/tree/master/hadrian#readme" SRC_URI="https://downloads.haskell.org/ghc/${PV/_/-}/ghc-${PV}-src.tar.xz" LICENSE="BSD" SLOT="0" KEYWORDS="~amd64" IUSE="static test +threaded" RESTRICT="!test? ( test )" S="${WORKDIR}/ghc-${PV}/${CABAL_PN}" CABAL_FILE="${S}/${CABAL_PN}.cabal" CABAL_CHDEPS=( 'Cabal >= 3.2 && < 3.9' 'Cabal >= 3.2' ) PATCHES=( "${FILESDIR}/${PN}-9.4.8-remove-with-cc-configure-flag.patch" "${FILESDIR}/${PN}-9.4.8-disable-doc-archives.patch" ) RDEPEND=" >=dev-haskell/cabal-3.2:= >=dev-haskell/extra-1.4.7:= >=dev-haskell/parsec-3.1:= =dev-haskell/text-1.2:= =dev-haskell/unordered-containers-0.2.1:= =dev-lang/ghc-9.0.2:= >=dev-util/shake-0.18.3:= =dev-haskell/quickcheck-2.6:=