Skip to content

Commit

Permalink
app-shells/fish: fix build with ncurses[tinfo]
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/673942
Package-Manager: Portage-2.3.53, Repoman-2.3.12
Signed-off-by: Georgy Yakovlev <[email protected]>
  • Loading branch information
gyakovlev committed Dec 29, 2018
1 parent d22b776 commit e0e114d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app-shells/fish/fish-3.0.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit e0e114d

Please sign in to comment.