From 56e8ec8bf3f2a630901fdfdda2c9376d0c5256b4 Mon Sep 17 00:00:00 2001 From: Vitaly Zdanevich Date: Fri, 21 May 2021 21:41:28 +0300 Subject: app-editors/vim: add ipv6 USE flag support. Closes: https://bugs.gentoo.org/790446 Closes: https://github.com/gentoo/gentoo/pull/20911 Signed-off-by: Vitaly Zdanevich Signed-off-by: Patrice Clement --- app-editors/vim/metadata.xml | 1 + app-editors/vim/vim-8.2.0814-r100.ebuild | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app-editors/vim/metadata.xml b/app-editors/vim/metadata.xml index acc712bdb241..bc092f380c09 100644 --- a/app-editors/vim/metadata.xml +++ b/app-editors/vim/metadata.xml @@ -7,6 +7,7 @@ Enable cscope interface + Enable IPv6 support in channel Enable support for Scheme using dev-scheme/racket Enable terminal emulation support Install vimpager and vimmanpager links diff --git a/app-editors/vim/vim-8.2.0814-r100.ebuild b/app-editors/vim/vim-8.2.0814-r100.ebuild index 085e62c4a3f7..c6cf07318e82 100644 --- a/app-editors/vim/vim-8.2.0814-r100.ebuild +++ b/app-editors/vim/vim-8.2.0814-r100.ebuild @@ -24,7 +24,7 @@ HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim" SLOT="0" LICENSE="vim" -IUSE="X acl cscope debug gpm lua minimal nls perl python racket ruby selinux sound tcl terminal vim-pager" +IUSE="X acl cscope debug gpm lua ipv6 minimal nls perl python racket ruby selinux sound tcl terminal vim-pager" REQUIRED_USE=" lua? ( ${LUA_REQUIRED_USE} ) python? ( ${PYTHON_REQUIRED_USE} ) @@ -228,6 +228,12 @@ src_configure() { ) fi + if ! use ipv6; then + myconf+=( + vim_cv_ipv6_networking=no + ) + fi + # don't test USE=X here ... see bug #19115 # but need to provide a way to link against X ... see bug #20093 myconf+=( -- cgit v1.2.3-65-gdbad