commit:     e0e114d6e1d690ea44c32802eb50cbf749dcfa94
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 29 06:35:45 2018 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Dec 29 07:54:15 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0e114d6

app-shells/fish: fix build with ncurses[tinfo]

Bug: https://bugs.gentoo.org/673942
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 app-shells/fish/fish-3.0.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/app-shells/fish/fish-3.0.0.ebuild 
b/app-shells/fish/fish-3.0.0.ebuild
index cc6e0bba617..9e9fc097f98 100644
--- a/app-shells/fish/fish-3.0.0.ebuild
+++ b/app-shells/fish/fish-3.0.0.ebuild
@@ -54,6 +54,10 @@ src_configure() {
                -DBUILD_DOCS="$(usex doc)"
                -DWITH_GETTEXT="$(usex nls)"
        )
+       # HACK: https://bugs.gentoo.org/673942
+       if has_version -d 'sys-libs/ncurses:0[tinfo]'; then
+               mycmakeargs+=( -DCURSES_EXTRA_LIBRARY=tinfo )
+       fi
        cmake-utils_src_configure
 }
 

Reply via email to