commit:     73b0ef093676404c24ee4672252b932a758b1966
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 12 20:14:35 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jul 12 20:15:56 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73b0ef09

dev-lang/ghc: guard manuals building behind USE=doc

Building ghc.1 needs sphinx present in system.

Reported-by: Patrick McLean
Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-lang/ghc/ghc-8.0.2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/ghc/ghc-8.0.2.ebuild b/dev-lang/ghc/ghc-8.0.2.ebuild
index 67329545ec0..dd4d223aeb6 100644
--- a/dev-lang/ghc/ghc-8.0.2.ebuild
+++ b/dev-lang/ghc/ghc-8.0.2.ebuild
@@ -514,6 +514,7 @@ src_configure() {
                # app-text/dblatex is not in portage, can not build PDF or PS
                echo "BUILD_SPHINX_PDF  = NO"  >> mk/build.mk
                echo "BUILD_SPHINX_HTML = $(usex doc YES NO)" >> mk/build.mk
+               echo "BUILD_MAN = $(usex doc YES NO)" >> mk/build.mk
 
                # this controls presence on 'xhtml' and 'haddock' in final 
install
                echo "HADDOCK_DOCS       = YES" >> mk/build.mk

Reply via email to