diff options
| author | Kerin Millar <kfm@plushkava.net> | 2022-07-29 00:14:12 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2022-07-29 03:04:03 +0100 |
| commit | 84f989fbd929cacc1668e52b370639aae08942fa (patch) | |
| tree | d9532fe112b2fd9d8fb2a349bf82c89808fa43a1 /app-editors/vim-core/vim-core-9999.ebuild | |
| parent | 264e57a28ffac2077f225b3caa546dac684245ac (diff) | |
| download | gentoo-84f989fbd929cacc1668e52b370639aae08942fa.tar.gz gentoo-84f989fbd929cacc1668e52b370639aae08942fa.tar.bz2 gentoo-84f989fbd929cacc1668e52b370639aae08942fa.zip | |
app-editors/vim-core: Don't try to assign to g:skip_defaults_vim for minimal builds
A recent adjustment to some of the vim-core ebuilds accidentally removed a sed
command that removes the following line from /etc/vim/vimrc, provided that the
"minimal" USE flag was in effect.
let g:skip_defaults_vim = 1
The reason for doing so is that this assignment raises an error in the case of
a minimal build. Rather than re-instate the missing sed commands, let's update
the vimrc template so as to employ a feature guard, relying on the fact that
minimal builds lack the +eval feature.
Fixes: 5e9a3926fd3e0e573f529fd6aefebba53e082f4a
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors/vim-core/vim-core-9999.ebuild')
| -rw-r--r-- | app-editors/vim-core/vim-core-9999.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app-editors/vim-core/vim-core-9999.ebuild b/app-editors/vim-core/vim-core-9999.ebuild index 555b9e91b8db..17a02fa52a3c 100644 --- a/app-editors/vim-core/vim-core-9999.ebuild +++ b/app-editors/vim-core/vim-core-9999.ebuild @@ -179,7 +179,7 @@ src_install() { # default vimrc is installed by vim-core since it applies to # both vim and gvim insinto /etc/vim/ - newins "${FILESDIR}"/vimrc-r5 vimrc + newins "${FILESDIR}"/vimrc-r6 vimrc eprefixify "${ED}"/etc/vim/vimrc if use minimal; then |
