Gentoo Archives: gentoo-commits

From: Georgy Yakovlev <gyakovlev@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/fish/
Date: Thu, 23 Dec 2021 22:37:42
Message-Id: 1640298814.a0629ab80a91dae3af16d6bf1652e95140d43d0d.gyakovlev@gentoo
1 commit: a0629ab80a91dae3af16d6bf1652e95140d43d0d
2 Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 23 22:33:34 2021 +0000
4 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 23 22:33:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0629ab8
7
8 app-shells/fish: never build docs for release version
9
10 Closes: https://bugs.gentoo.org/770862
11 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
12
13 app-shells/fish/fish-3.3.1-r1.ebuild | 6 +++++-
14 1 file changed, 5 insertions(+), 1 deletion(-)
15
16 diff --git a/app-shells/fish/fish-3.3.1-r1.ebuild b/app-shells/fish/fish-3.3.1-r1.ebuild
17 index d0d5a67aeecf..bd040a633309 100644
18 --- a/app-shells/fish/fish-3.3.1-r1.ebuild
19 +++ b/app-shells/fish/fish-3.3.1-r1.ebuild
20 @@ -76,7 +76,11 @@ src_configure() {
21 -DWITH_GETTEXT="$(usex nls)"
22 )
23 # release tarballs ship pre-built docs // -DHAVE_PREBUILT_DOCS=TRUE
24 - [[ ${PV} == 9999 ]] && mycmakeargs+=( -DBUILD_DOCS="$(usex doc)" )
25 + if [[ ${PV} == 9999 ]]; then
26 + mycmakeargs+=( -DBUILD_DOCS="$(usex doc)" )
27 + else
28 + mycmakeargs+=( -DBUILD_DOCS=OFF )
29 + fi
30 cmake_src_configure
31 }