1 |
commit: 56e8ec8bf3f2a630901fdfdda2c9376d0c5256b4 |
2 |
Author: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> |
3 |
AuthorDate: Fri May 21 18:41:28 2021 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jun 12 10:16:10 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56e8ec8b |
7 |
|
8 |
app-editors/vim: add ipv6 USE flag support. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/790446 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/20911 |
12 |
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru> |
13 |
Signed-off-by: Patrice Clement <monsieurp <AT> gentoo.org> |
14 |
|
15 |
app-editors/vim/metadata.xml | 1 + |
16 |
app-editors/vim/vim-8.2.0814-r100.ebuild | 8 +++++++- |
17 |
2 files changed, 8 insertions(+), 1 deletion(-) |
18 |
|
19 |
diff --git a/app-editors/vim/metadata.xml b/app-editors/vim/metadata.xml |
20 |
index acc712bdb24..bc092f380c0 100644 |
21 |
--- a/app-editors/vim/metadata.xml |
22 |
+++ b/app-editors/vim/metadata.xml |
23 |
@@ -7,6 +7,7 @@ |
24 |
</maintainer> |
25 |
<use> |
26 |
<flag name="cscope">Enable cscope interface</flag> |
27 |
+ <flag name="ipv6">Enable IPv6 support in channel</flag> |
28 |
<flag name="racket">Enable support for Scheme using <pkg>dev-scheme/racket</pkg></flag> |
29 |
<flag name="terminal">Enable terminal emulation support</flag> |
30 |
<flag name="vim-pager">Install vimpager and vimmanpager links</flag> |
31 |
|
32 |
diff --git a/app-editors/vim/vim-8.2.0814-r100.ebuild b/app-editors/vim/vim-8.2.0814-r100.ebuild |
33 |
index 085e62c4a3f..c6cf07318e8 100644 |
34 |
--- a/app-editors/vim/vim-8.2.0814-r100.ebuild |
35 |
+++ b/app-editors/vim/vim-8.2.0814-r100.ebuild |
36 |
@@ -24,7 +24,7 @@ HOMEPAGE="https://vim.sourceforge.io/ https://github.com/vim/vim" |
37 |
|
38 |
SLOT="0" |
39 |
LICENSE="vim" |
40 |
-IUSE="X acl cscope debug gpm lua minimal nls perl python racket ruby selinux sound tcl terminal vim-pager" |
41 |
+IUSE="X acl cscope debug gpm lua ipv6 minimal nls perl python racket ruby selinux sound tcl terminal vim-pager" |
42 |
REQUIRED_USE=" |
43 |
lua? ( ${LUA_REQUIRED_USE} ) |
44 |
python? ( ${PYTHON_REQUIRED_USE} ) |
45 |
@@ -228,6 +228,12 @@ src_configure() { |
46 |
) |
47 |
fi |
48 |
|
49 |
+ if ! use ipv6; then |
50 |
+ myconf+=( |
51 |
+ vim_cv_ipv6_networking=no |
52 |
+ ) |
53 |
+ fi |
54 |
+ |
55 |
# don't test USE=X here ... see bug #19115 |
56 |
# but need to provide a way to link against X ... see bug #20093 |
57 |
myconf+=( |