summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-12-20 23:18:06 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2020-12-20 23:18:06 +0000
commitbee7c2e25cbad61b64c887d2d80cb0472ca2eb96 (patch)
tree13adabf515eb79a0148da3ada575447fcaf23cdf
parentdev-haskell/clock: fix tasty->clock->tasty circular test depend (diff)
downloadgentoo-bee7c2e25cbad61b64c887d2d80cb0472ca2eb96.tar.gz
gentoo-bee7c2e25cbad61b64c887d2d80cb0472ca2eb96.tar.bz2
gentoo-bee7c2e25cbad61b64c887d2d80cb0472ca2eb96.zip
haskell-cabal.eclass: unconditionally use bundled haddock for USE=doc
Reported-by: Toralf Förster Bug: https://bugs.gentoo.org/760863#c10 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
-rw-r--r--eclass/haskell-cabal.eclass9
1 files changed, 0 insertions, 9 deletions
diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index 2fc797e764cb..4908e4491e60 100644
--- a/eclass/haskell-cabal.eclass
+++ b/eclass/haskell-cabal.eclass
@@ -109,15 +109,6 @@ done
if [[ -n "${CABAL_USE_HADDOCK}" ]]; then
IUSE="${IUSE} doc"
- # don't require depend on itself to build docs.
- # ebuild bootstraps docs from just built binary
- #
- # starting from ghc-7.10.2 we install haddock bundled with
- # ghc to keep links to base and ghc library, otherwise
- # newer haddock versions change index format and can't
- # read index files for packages coming with ghc.
- [[ ${CATEGORY}/${PN} = "dev-haskell/haddock" ]] || \
- DEPEND="${DEPEND} doc? ( || ( dev-haskell/haddock >=dev-lang/ghc-7.10.2 ) )"
fi
if [[ -n "${CABAL_USE_HSCOLOUR}" ]]; then