commit:     a0629ab80a91dae3af16d6bf1652e95140d43d0d
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 23 22:33:34 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Dec 23 22:33:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0629ab8

app-shells/fish: never build docs for release version

Closes: https://bugs.gentoo.org/770862
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-shells/fish/fish-3.3.1-r1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/app-shells/fish/fish-3.3.1-r1.ebuild 
b/app-shells/fish/fish-3.3.1-r1.ebuild
index d0d5a67aeecf..bd040a633309 100644
--- a/app-shells/fish/fish-3.3.1-r1.ebuild
+++ b/app-shells/fish/fish-3.3.1-r1.ebuild
@@ -76,7 +76,11 @@ src_configure() {
                -DWITH_GETTEXT="$(usex nls)"
        )
        # release tarballs ship pre-built docs // -DHAVE_PREBUILT_DOCS=TRUE
-       [[ ${PV} == 9999 ]] && mycmakeargs+=( -DBUILD_DOCS="$(usex doc)" )
+       if [[ ${PV} == 9999 ]]; then
+               mycmakeargs+=( -DBUILD_DOCS="$(usex doc)" )
+       else
+               mycmakeargs+=( -DBUILD_DOCS=OFF )
+       fi
        cmake_src_configure
 }
 

Reply via email to