summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2018-12-28 22:35:45 -0800
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2018-12-28 23:54:15 -0800
commite0e114d6e1d690ea44c32802eb50cbf749dcfa94 (patch)
tree4d5973e6ad0aab6be7f5798cca362d7268ed9ec0
parentapp-editors/xvile: version bump to 9.8t (diff)
downloadgentoo-e0e114d6.tar.gz
gentoo-e0e114d6.tar.bz2
gentoo-e0e114d6.zip
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@gentoo.org>
-rw-r--r--app-shells/fish/fish-3.0.0.ebuild4
1 files changed, 4 insertions, 0 deletions
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
}