commit:     ee85e20804bd5a7720a1180d1247a8ee9dfc1893
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon May 25 12:52:40 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon May 25 12:52:48 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee85e208

sci-libs/ViSP: Fix USE=doc

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 sci-libs/ViSP/ViSP-3.3.0.ebuild | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sci-libs/ViSP/ViSP-3.3.0.ebuild b/sci-libs/ViSP/ViSP-3.3.0.ebuild
index f524038341b..35b2a248ef5 100644
--- a/sci-libs/ViSP/ViSP-3.3.0.ebuild
+++ b/sci-libs/ViSP/ViSP-3.3.0.ebuild
@@ -84,8 +84,7 @@ src_configure() {
 
 src_compile() {
        cmake-utils_src_compile
-       cd "${BUILD_DIR}"
-       use doc && emake visp_doc
+       use doc && cmake-utils_src_compile visp_doc
 }
 
 src_install() {
@@ -95,5 +94,5 @@ src_install() {
                docompress -x /usr/share/doc/${PF}/tutorial
        fi
        cd "${BUILD_DIR}"
-       use doc && dohtml -r doc/html/*
+       use doc && dodoc -r doc/html
 }

Reply via email to