Skip to content

Commit

Permalink
dev-lang/ghc: guard manuals building behind USE=doc
Browse files Browse the repository at this point in the history
Building ghc.1 needs sphinx present in system.

Reported-by: Patrick McLean
Package-Manager: Portage-2.3.6, Repoman-2.3.2
  • Loading branch information
Sergei Trofimovich committed Jul 12, 2017
1 parent 97e0ba9 commit 73b0ef0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev-lang/ghc/ghc-8.0.2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73b0ef0

Please sign in to comment.