/[gentoo-x86]/eclass/haskell-cabal.eclass
Gentoo

Diff of /eclass/haskell-cabal.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.27 Revision 1.28
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.27 2012/02/07 12:47:54 slyfox Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/haskell-cabal.eclass,v 1.28 2012/03/09 22:01:11 slyfox Exp $
4 4
5# @ECLASS: haskell-cabal.eclass 5# @ECLASS: haskell-cabal.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Haskell herd <haskell@gentoo.org> 7# Haskell herd <haskell@gentoo.org>
8# @AUTHOR: 8# @AUTHOR:
93 esac 93 esac
94done 94done
95 95
96if [[ -n "${CABAL_USE_HADDOCK}" ]]; then 96if [[ -n "${CABAL_USE_HADDOCK}" ]]; then
97 IUSE="${IUSE} doc" 97 IUSE="${IUSE} doc"
98 DEPEND="${DEPEND} doc? ( dev-haskell/haddock )" 98 # don't require depend on itself to build docs.
99 # ebuild bootstraps docs from just built binary
100 [[ ${CATEGORY}/${PN} = "dev-haskell/haddock" ]] || DEPEND="${DEPEND} doc? ( dev-haskell/haddock )"
99fi 101fi
100 102
101if [[ -n "${CABAL_USE_HSCOLOUR}" ]]; then 103if [[ -n "${CABAL_USE_HSCOLOUR}" ]]; then
102 IUSE="${IUSE} hscolour" 104 IUSE="${IUSE} hscolour"
103 DEPEND="${DEPEND} hscolour? ( dev-haskell/hscolour )" 105 DEPEND="${DEPEND} hscolour? ( dev-haskell/hscolour )"

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20