From: Georgy Yakovlev Date: Sat, 29 Dec 2018 06:35:45 +0000 (-0800) Subject: app-shells/fish: fix build with ncurses[tinfo] X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e0e114d6e1d690ea44c32802eb50cbf749dcfa94;p=gentoo.git 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 --- diff --git a/app-shells/fish/fish-3.0.0.ebuild b/app-shells/fish/fish-3.0.0.ebuild index cc6e0bba6178..9e9fc097f981 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 }