dev-util/cmocka: Fix USE !doc
authorAndreas Sturmlechner <asturm@gentoo.org>
Tue, 27 Nov 2018 20:23:33 +0000 (21:23 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Tue, 27 Nov 2018 20:24:09 +0000 (21:24 +0100)
Closes: https://bugs.gentoo.org/672092
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
dev-util/cmocka/cmocka-1.1.3.ebuild

index c98c2e9957e34188f6c69c40c1d948710440ec4d..4cdb5fbec971cb1c426fd2c44bbc14e5c1700c7a 100644 (file)
@@ -38,7 +38,7 @@ multilib_src_configure() {
 
 multilib_src_compile() {
        cmake-utils_src_compile
-       multilib_is_native_abi && cmake-utils_src_compile docs
+       multilib_is_native_abi && use doc && cmake-utils_src_compile docs
 }
 
 multilib_src_install() {