1 |
commit: 5ce72a11698272faeaa9d45cea677bc7c15a8a21 |
2 |
Author: Tim Harder <radhermit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 11 05:41:44 2019 +0000 |
4 |
Commit: Tim Harder <radhermit <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 11 05:50:44 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce72a11 |
7 |
|
8 |
dev-libs/libyaml: fix doc build support |
9 |
|
10 |
Also, stop installing example code. |
11 |
|
12 |
Closes: https://bugs.gentoo.org/685594 |
13 |
|
14 |
Signed-off-by: Tim Harder <radhermit <AT> gentoo.org> |
15 |
|
16 |
dev-libs/libyaml/libyaml-0.2.2.ebuild | 10 +++++----- |
17 |
1 file changed, 5 insertions(+), 5 deletions(-) |
18 |
|
19 |
diff --git a/dev-libs/libyaml/libyaml-0.2.2.ebuild b/dev-libs/libyaml/libyaml-0.2.2.ebuild |
20 |
index b6373be87d0..84ef1799655 100644 |
21 |
--- a/dev-libs/libyaml/libyaml-0.2.2.ebuild |
22 |
+++ b/dev-libs/libyaml/libyaml-0.2.2.ebuild |
23 |
@@ -32,13 +32,13 @@ src_configure() { |
24 |
econf $(use_enable static-libs static) |
25 |
} |
26 |
|
27 |
+src_compile() { |
28 |
+ emake |
29 |
+ use doc && emake html |
30 |
+} |
31 |
+ |
32 |
src_install() { |
33 |
use doc && HTML_DOCS=( doc/html/. ) |
34 |
default |
35 |
- |
36 |
find "${D}" -name '*.la' -delete || die |
37 |
- |
38 |
- docinto examples |
39 |
- dodoc tests/example-*.c |
40 |
- docompress -x /usr/share/doc/${PF}/examples |
41 |
} |