Merge updates from master

This commit is contained in:
Repository mirror & CI
2026-09-20 06:15:47 +00:00
3 changed files with 30 additions and 4 deletions
@@ -1,4 +1,4 @@
# Copyright 1999-2025 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -43,6 +43,8 @@ src_prepare() {
# bug #255813
sed -i "/^docdir/s:/doc/migemo:/share/doc/${PF}:" compile/config.mk.in || die
# bug #940698
sed -i "s/which /command -v /" configure || die
}
src_compile() {
+3 -3
View File
@@ -17,7 +17,7 @@ IUSE="unicode vim"
RDEPEND=">=app-dicts/migemo-dict-200812[unicode=]"
DEPEND="${RDEPEND}"
PATCHES=( )
PATCHES=( "${FILESDIR}"/${PN}-vim.patch )
DOCS=( doc/README_ja.txt )
src_configure() {
@@ -49,9 +49,9 @@ src_install() {
if use vim; then
insinto /usr/share/vim/vimfiles/plugin
doins misc/migemo.vim
doins misc/vim/migemo.vim
insinto /usr/share/vim/vimfiles/doc
doins misc/vimigemo.txt
doins misc/vim/vimigemo.txt
fi
}
+24
View File
@@ -0,0 +1,24 @@
--- a/misc/vim/migemo.vim
+++ b/misc/vim/migemo.vim
@@ -26,10 +26,7 @@
if dict == ''
for path in [
\ '/usr/local/share/migemo/',
- \ '/usr/local/share/cmigemo/',
- \ '/usr/local/share/',
- \ '/usr/share/cmigemo/',
- \ '/usr/share/',
+ \ '/usr/share/migemo/',
\ ]
let path = path . a:name
if filereadable(path)
@@ -45,9 +42,6 @@
function! s:SearchDict()
let dict = ''
if dict == ''
- let dict = s:SearchDict2('migemo/'.&encoding.'/migemo-dict')
- endif
- if dict == ''
let dict = s:SearchDict2(&encoding.'/migemo-dict')
endif
if dict == ''