diff options
author | David Seifert <soap@gentoo.org> | 2019-05-13 09:33:24 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-05-13 09:33:24 +0200 |
commit | 9ffab08e406e83d4a7ce89a67ff96d048390d5c0 (patch) | |
tree | 0bc16a63c0885090d715209836a1e953812b206c /dev-games/physfs/physfs-9999.ebuild | |
parent | sci-visualization/tensorboard: use predictable SRC_URI (diff) | |
download | gentoo-9ffab08e406e83d4a7ce89a67ff96d048390d5c0.tar.gz gentoo-9ffab08e406e83d4a7ce89a67ff96d048390d5c0.tar.bz2 gentoo-9ffab08e406e83d4a7ce89a67ff96d048390d5c0.zip |
dev-games/physfs: Simplify USE=doc handling
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'dev-games/physfs/physfs-9999.ebuild')
-rw-r--r-- | dev-games/physfs/physfs-9999.ebuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-games/physfs/physfs-9999.ebuild b/dev-games/physfs/physfs-9999.ebuild index 0880049c9f1c..91229a1b6d98 100644 --- a/dev-games/physfs/physfs-9999.ebuild +++ b/dev-games/physfs/physfs-9999.ebuild @@ -45,10 +45,9 @@ multilib_src_configure() { multilib_src_compile() { cmake-utils_src_compile - multilib_is_native_abi && use doc && cmake-utils_src_compile docs -} -multilib_src_install() { - multilib_is_native_abi && use doc && local HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) - cmake-utils_src_install + if multilib_is_native_abi && use doc; then + cmake-utils_src_compile docs + HTML_DOCS=( "${BUILD_DIR}"/docs/html/. ) + fi } |