diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2018-09-28 22:32:10 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2018-09-28 22:32:25 +0100 |
commit | bf096829a1577b14677ed810d6171c1b7fa4b523 (patch) | |
tree | 99d845a2ad43c16d778bdddc6def9f852ba80110 /dev-lang | |
parent | www-client/firefox: define PYTHON_COMPAT in ebuild (diff) | |
download | gentoo-bf096829a1577b14677ed810d6171c1b7fa4b523.tar.gz gentoo-bf096829a1577b14677ed810d6171c1b7fa4b523.tar.bz2 gentoo-bf096829a1577b14677ed810d6171c1b7fa4b523.zip |
dev-lang/nim: fix USE=doc building, bug #667182
Use 'koch doc' instead of 'koch web'. Old command
does not generate html output anymore.
While at it dropped XDG_CACHE_HOME to avoid user-defined dorectory.
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/667182
Package-Manager: Portage-2.3.50, Repoman-2.3.11
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/nim/nim-0.19.0.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-lang/nim/nim-0.19.0.ebuild b/dev-lang/nim/nim-0.19.0.ebuild index c86fab3680ee..abc572c107f7 100644 --- a/dev-lang/nim/nim-0.19.0.ebuild +++ b/dev-lang/nim/nim-0.19.0.ebuild @@ -39,6 +39,8 @@ nim_use_enable() { } src_compile() { + export XDG_CACHE_HOME=${T}/cache #667182 + _run ./build.sh _run ./bin/nim --parallelBuild:$(makeopts_jobs) c koch @@ -48,7 +50,7 @@ src_compile() { PATH="./bin:$PATH" _run ./koch --stable tools if use doc; then - PATH="./bin:$PATH" _run ./koch web + PATH="./bin:$PATH" _run ./koch doc fi } @@ -72,7 +74,7 @@ src_install() { if use doc; then insinto /usr/share/doc/${PF} - dodoc doc/*.html + dodoc doc/html/*.html fi newbashcomp tools/nim.bash-completion ${PN} |