summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Eisele <kernlpanic@dennis-eisele.de>2022-02-24 19:38:30 +0100
committerFlorian Schmaus <flow@gentoo.org>2022-02-26 11:29:44 +0100
commitb9a7e336ed7c038767aaf206772ff5be5dec105e (patch)
tree136ab06c4882843d80ea3b6eb2eea84e53621258
parentdev-python/pywinrm: EAPI 8, PEP517 (diff)
downloadgentoo-b9a7e336.tar.gz
gentoo-b9a7e336.tar.bz2
gentoo-b9a7e336.zip
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@dennis-eisele.de> Closes: https://github.com/gentoo/gentoo/pull/24335 Signed-off-by: Florian Schmaus <flow@gentoo.org>
-rw-r--r--net-misc/unison/unison-2.51.5.ebuild9
1 files 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