commit:     76aca1152d93c82f0e6bf01996e6b1957915468f
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun May 12 22:39:16 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon May 13 00:17:44 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76aca115

dev-games/physfs: Fix build with USE=doc

Closes: https://bugs.gentoo.org/682080
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-games/physfs/physfs-3.0.2.ebuild | 10 ++++------
 dev-games/physfs/physfs-9999.ebuild  | 10 ++++------
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/dev-games/physfs/physfs-3.0.2.ebuild 
b/dev-games/physfs/physfs-3.0.2.ebuild
index 683b49ac714..0880049c9f1 100644
--- a/dev-games/physfs/physfs-3.0.2.ebuild
+++ b/dev-games/physfs/physfs-3.0.2.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit cmake-multilib
 
 DESCRIPTION="Abstraction layer for filesystem and archive access"
@@ -47,10 +48,7 @@ multilib_src_compile() {
        multilib_is_native_abi && use doc && cmake-utils_src_compile docs
 }
 
-multilib_src_install_all() {
-       einstalldocs
-       if use doc ; then
-               docinto html
-               dodoc -r "${CMAKE_BUILD_DIR}"/docs/html/*
-       fi
+multilib_src_install() {
+       multilib_is_native_abi && use doc && local HTML_DOCS=( 
"${BUILD_DIR}"/docs/html/. )
+       cmake-utils_src_install
 }

diff --git a/dev-games/physfs/physfs-9999.ebuild 
b/dev-games/physfs/physfs-9999.ebuild
index 683b49ac714..0880049c9f1 100644
--- a/dev-games/physfs/physfs-9999.ebuild
+++ b/dev-games/physfs/physfs-9999.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit cmake-multilib
 
 DESCRIPTION="Abstraction layer for filesystem and archive access"
@@ -47,10 +48,7 @@ multilib_src_compile() {
        multilib_is_native_abi && use doc && cmake-utils_src_compile docs
 }
 
-multilib_src_install_all() {
-       einstalldocs
-       if use doc ; then
-               docinto html
-               dodoc -r "${CMAKE_BUILD_DIR}"/docs/html/*
-       fi
+multilib_src_install() {
+       multilib_is_native_abi && use doc && local HTML_DOCS=( 
"${BUILD_DIR}"/docs/html/. )
+       cmake-utils_src_install
 }

Reply via email to