commit:     5ce72a11698272faeaa9d45cea677bc7c15a8a21
Author:     Tim Harder <radhermit <AT> gentoo <DOT> org>
AuthorDate: Sat May 11 05:41:44 2019 +0000
Commit:     Tim Harder <radhermit <AT> gentoo <DOT> org>
CommitDate: Sat May 11 05:50:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce72a11

dev-libs/libyaml: fix doc build support

Also, stop installing example code.

Closes: https://bugs.gentoo.org/685594

Signed-off-by: Tim Harder <radhermit <AT> gentoo.org>

 dev-libs/libyaml/libyaml-0.2.2.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/dev-libs/libyaml/libyaml-0.2.2.ebuild 
b/dev-libs/libyaml/libyaml-0.2.2.ebuild
index b6373be87d0..84ef1799655 100644
--- a/dev-libs/libyaml/libyaml-0.2.2.ebuild
+++ b/dev-libs/libyaml/libyaml-0.2.2.ebuild
@@ -32,13 +32,13 @@ src_configure() {
        econf $(use_enable static-libs static)
 }
 
+src_compile() {
+       emake
+       use doc && emake html
+}
+
 src_install() {
        use doc && HTML_DOCS=( doc/html/. )
        default
-
        find "${D}" -name '*.la' -delete || die
-
-       docinto examples
-       dodoc tests/example-*.c
-       docompress -x /usr/share/doc/${PF}/examples
 }

Reply via email to