Skip to content

Commit

Permalink
app-editors/vim: add ipv6 USE flag support.
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/790446
Closes: gentoo#20911
Signed-off-by: Vitaly Zdanevich <[email protected]>
Signed-off-by: Patrice Clement <[email protected]>
  • Loading branch information
vitaly-zdanevich authored and monsieurp committed Jun 12, 2021
1 parent a8e3ee9 commit 56e8ec8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions app-editors/vim/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</maintainer>
<use>
<flag name="cscope">Enable cscope interface</flag>
<flag name="ipv6">Enable IPv6 support in channel</flag>
<flag name="racket">Enable support for Scheme using <pkg>dev-scheme/racket</pkg></flag>
<flag name="terminal">Enable terminal emulation support</flag>
<flag name="vim-pager">Install vimpager and vimmanpager links</flag>
Expand Down
8 changes: 7 additions & 1 deletion app-editors/vim/vim-8.2.0814-r100.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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} )
Expand Down Expand Up @@ -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+=(
Expand Down

0 comments on commit 56e8ec8

Please sign in to comment.