1 |
commit: e0e114d6e1d690ea44c32802eb50cbf749dcfa94 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Dec 29 06:35:45 2018 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Dec 29 07:54:15 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0e114d6 |
7 |
|
8 |
app-shells/fish: fix build with ncurses[tinfo] |
9 |
|
10 |
Bug: https://bugs.gentoo.org/673942 |
11 |
Package-Manager: Portage-2.3.53, Repoman-2.3.12 |
12 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
13 |
|
14 |
app-shells/fish/fish-3.0.0.ebuild | 4 ++++ |
15 |
1 file changed, 4 insertions(+) |
16 |
|
17 |
diff --git a/app-shells/fish/fish-3.0.0.ebuild b/app-shells/fish/fish-3.0.0.ebuild |
18 |
index cc6e0bba617..9e9fc097f98 100644 |
19 |
--- a/app-shells/fish/fish-3.0.0.ebuild |
20 |
+++ b/app-shells/fish/fish-3.0.0.ebuild |
21 |
@@ -54,6 +54,10 @@ src_configure() { |
22 |
-DBUILD_DOCS="$(usex doc)" |
23 |
-DWITH_GETTEXT="$(usex nls)" |
24 |
) |
25 |
+ # HACK: https://bugs.gentoo.org/673942 |
26 |
+ if has_version -d 'sys-libs/ncurses:0[tinfo]'; then |
27 |
+ mycmakeargs+=( -DCURSES_EXTRA_LIBRARY=tinfo ) |
28 |
+ fi |
29 |
cmake-utils_src_configure |
30 |
} |