commit:     dc2922087a4a0d6693caf57201179fb183a593de
Author:     Dan Robertson <daniel.robertson <AT> starlab <DOT> io>
AuthorDate: Fri Apr  5 16:12:45 2019 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue Apr  9 12:05:57 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc292208

app-editors/vim: vim-pager needs -minimal.

The vimpager command will not work with app-editors/vim-core[minimal] or
app-editors/vim[minimal]. Do not allow the vim-pager USE flag to be
enabled if either is enabled.

Signed-off-by: Dan Robertson <daniel.robertson <AT> starlab.io>
Closes: https://github.com/gentoo/gentoo/pull/11601
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org>

 app-editors/vim/vim-8.1.0648-r1.ebuild | 2 ++
 app-editors/vim/vim-9999.ebuild        | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/app-editors/vim/vim-8.1.0648-r1.ebuild 
b/app-editors/vim/vim-8.1.0648-r1.ebuild
index 3d5b9ee9dbd..8ce3e2d1c2e 100644
--- a/app-editors/vim/vim-8.1.0648-r1.ebuild
+++ b/app-editors/vim/vim-8.1.0648-r1.ebuild
@@ -27,6 +27,7 @@ IUSE="X acl cscope debug gpm lua luajit minimal nls perl 
python racket ruby seli
 REQUIRED_USE="
        luajit? ( lua )
        python? ( ${PYTHON_REQUIRED_USE} )
+       vim-pager? ( !minimal )
 "
 
 RDEPEND="
@@ -57,6 +58,7 @@ DEPEND="
        ${RDEPEND}
        sys-devel/autoconf
        nls? ( sys-devel/gettext )
+       vim-pager? ( app-editors/vim-core[-minimal] )
 "
 
 pkg_setup() {

diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild
index 7f5fd67a23e..08ce8d409f4 100644
--- a/app-editors/vim/vim-9999.ebuild
+++ b/app-editors/vim/vim-9999.ebuild
@@ -51,12 +51,14 @@ RDEPEND="
        selinux? ( sys-libs/libselinux )
        tcl? ( dev-lang/tcl:0= )
        X? ( x11-libs/libXt )
+       vim-pager? ( !minimal )
 "
 
 DEPEND="
        ${RDEPEND}
        sys-devel/autoconf
        nls? ( sys-devel/gettext )
+       vim-pager? ( app-editors/vim-core[-minimal] )
 "
 
 pkg_setup() {

Reply via email to