From e0e114d6e1d690ea44c32802eb50cbf749dcfa94 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Fri, 28 Dec 2018 22:35:45 -0800 Subject: 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 --- app-shells/fish/fish-3.0.0.ebuild | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app-shells') 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 } -- cgit v1.2.3-65-gdbad