commit:     bee7c2e25cbad61b64c887d2d80cb0472ca2eb96
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 20 23:18:06 2020 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 23:18:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bee7c2e2

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 <AT> gentoo.org>

 eclass/haskell-cabal.eclass | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/eclass/haskell-cabal.eclass b/eclass/haskell-cabal.eclass
index 2fc797e764c..4908e4491e6 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

Reply via email to