app-editors/vim: vim-pager needs -minimal.
authorDan Robertson <daniel.robertson@starlab.io>
Fri, 5 Apr 2019 16:12:45 +0000 (12:12 -0400)
committerPatrice Clement <monsieurp@gentoo.org>
Tue, 9 Apr 2019 12:05:57 +0000 (14:05 +0200)
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@starlab.io>
Closes: https://github.com/gentoo/gentoo/pull/11601
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
app-editors/vim/vim-8.1.0648-r1.ebuild
app-editors/vim/vim-9999.ebuild

index 3d5b9ee9dbda0e45b7495f854870b33c7da3304c..8ce3e2d1c2ee7ec108c514aaaa3cfd626fa50ba6 100644 (file)
@@ -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() {
index 7f5fd67a23ef9e488bb066e94d23683b2b2a22d6..08ce8d409f4902d43579189dd7b1527b69978c60 100644 (file)
@@ -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() {