commit: b9a7e336ed7c038767aaf206772ff5be5dec105e Author: Dennis Eisele <kernlpanic <AT> dennis-eisele <DOT> de> AuthorDate: Thu Feb 24 18:38:30 2022 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Sat Feb 26 10:29:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9a7e336
net-misc/unison: fix documentation building Closes: https://bugs.gentoo.org/833870 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Dennis Eisele <kernlpanic <AT> dennis-eisele.de> Closes: https://github.com/gentoo/gentoo/pull/24335 Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> net-misc/unison/unison-2.51.5.ebuild | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/net-misc/unison/unison-2.51.5.ebuild b/net-misc/unison/unison-2.51.5.ebuild index f68427249b70..9390b830c005 100644 --- a/net-misc/unison/unison-2.51.5.ebuild +++ b/net-misc/unison/unison-2.51.5.ebuild @@ -17,7 +17,10 @@ IUSE="debug doc gtk +ocamlopt threads" BDEPEND="dev-lang/ocaml:=[ocamlopt?] doc? ( app-text/dvipsk app-text/ghostscript-gpl - dev-texlive/texlive-latex )" + dev-texlive/texlive-latex + dev-tex/hevea + www-client/lynx + )" DEPEND="gtk? ( dev-ml/lablgtk:2=[ocamlopt?] )" RDEPEND="gtk? ( dev-ml/lablgtk:2=[ocamlopt?] || ( net-misc/x11-ssh-askpass net-misc/ssh-askpass-fullscreen ) ) @@ -53,7 +56,7 @@ src_compile() { use ocamlopt || myconf+=( NATIVE=false ) if use doc; then - VARTEXFONTS="${T}/fonts" emake "${myconf[@]}" CFLAGS="" HEVEA=false docs + VARTEXFONTS="${T}/fonts" emake "${myconf[@]}" CFLAGS="" HEVEA=true docs fi # Discard cflags as it will try to pass them to ocamlc... @@ -80,7 +83,7 @@ src_install() { if use doc; then DOCS+=( ../doc/unison-manual.pdf ) - HTML_DOCS=( "${DISTDIR}/${P}-manual.html" ) + HTML_DOCS=( "../doc/unison-manual.html" ) fi einstalldocs
