commit:     ee0ada7f0399433bb5788fe8a0a0e70313d9c79d
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 15:55:24 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 15:57:57 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee0ada7f

app-editors/vim-core: Add ncurses to DEPEND

The configure script checks for ncurses, specifically libtinfo:

    checking for tgetent in -ltinfo... yes

Depending on ncurses helps when cross-compiling vim-core, as ncurses may
not be built for the host yet.

Bug: https://bugs.gentoo.org/854909
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 .../{vim-core-8.2.5066-r1.ebuild => vim-core-8.2.5066-r2.ebuild}        | 2 ++
 .../vim-core/{vim-core-9.0.0049.ebuild => vim-core-9.0.0049-r1.ebuild}  | 2 ++
 app-editors/vim-core/vim-core-9999.ebuild                               | 2 ++
 3 files changed, 6 insertions(+)

diff --git a/app-editors/vim-core/vim-core-8.2.5066-r1.ebuild 
b/app-editors/vim-core/vim-core-8.2.5066-r2.ebuild
similarity index 98%
rename from app-editors/vim-core/vim-core-8.2.5066-r1.ebuild
rename to app-editors/vim-core/vim-core-8.2.5066-r2.ebuild
index 2ab640fe7da3..ceedeb843abe 100644
--- a/app-editors/vim-core/vim-core-8.2.5066-r1.ebuild
+++ b/app-editors/vim-core/vim-core-8.2.5066-r2.ebuild
@@ -26,6 +26,8 @@ LICENSE="vim"
 SLOT="0"
 IUSE="nls acl minimal"
 
+# ncurses is only needed by ./configure, so no subslot operator required
+DEPEND=">=sys-libs/ncurses-5.2-r2:0"
 BDEPEND="sys-devel/autoconf"
 # Avoid icon file collision, bug #673880
 RDEPEND="!!<app-editors/gvim-8.1.0648

diff --git a/app-editors/vim-core/vim-core-9.0.0049.ebuild 
b/app-editors/vim-core/vim-core-9.0.0049-r1.ebuild
similarity index 98%
rename from app-editors/vim-core/vim-core-9.0.0049.ebuild
rename to app-editors/vim-core/vim-core-9.0.0049-r1.ebuild
index 0fd6ae36dd53..a823407e3ce2 100644
--- a/app-editors/vim-core/vim-core-9.0.0049.ebuild
+++ b/app-editors/vim-core/vim-core-9.0.0049-r1.ebuild
@@ -26,6 +26,8 @@ LICENSE="vim"
 SLOT="0"
 IUSE="nls acl minimal"
 
+# ncurses is only needed by ./configure, so no subslot operator required
+DEPEND=">=sys-libs/ncurses-5.2-r2:0"
 BDEPEND="sys-devel/autoconf"
 # Avoid icon file collision, bug #673880
 RDEPEND="!!<app-editors/gvim-8.1.0648

diff --git a/app-editors/vim-core/vim-core-9999.ebuild 
b/app-editors/vim-core/vim-core-9999.ebuild
index 0fd6ae36dd53..a823407e3ce2 100644
--- a/app-editors/vim-core/vim-core-9999.ebuild
+++ b/app-editors/vim-core/vim-core-9999.ebuild
@@ -26,6 +26,8 @@ LICENSE="vim"
 SLOT="0"
 IUSE="nls acl minimal"
 
+# ncurses is only needed by ./configure, so no subslot operator required
+DEPEND=">=sys-libs/ncurses-5.2-r2:0"
 BDEPEND="sys-devel/autoconf"
 # Avoid icon file collision, bug #673880
 RDEPEND="!!<app-editors/gvim-8.1.0648

Reply via email to