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