mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-21 16:09:05 -07:00
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>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user