summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Persson Forsberg <cat@catcream.org>2022-08-18 01:18:20 +0200
committerSam James <sam@gentoo.org>2022-08-23 06:23:58 +0100
commited9f9622f31bbcf28b83ae601cd788d7ffd3cec4 (patch)
treeeee6fa3b3eecf148c246eb10a4ad4d4a4d6048a6 /app-editors
parentapp-editor/vim-core: provide configure defaults when cross compiling (diff)
downloadgentoo-ed9f9622f31bbcf28b83ae601cd788d7ffd3cec4.tar.gz
gentoo-ed9f9622f31bbcf28b83ae601cd788d7ffd3cec4.tar.bz2
gentoo-ed9f9622f31bbcf28b83ae601cd788d7ffd3cec4.zip
app-editor/gvim: provide configure defaults when cross compiling
Signed-off-by: Alfred Persson Forsberg <cat@catcream.org> Closes: https://github.com/gentoo/gentoo/pull/26900 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/gvim/gvim-9.0.0099.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-editors/gvim/gvim-9.0.0099.ebuild b/app-editors/gvim/gvim-9.0.0099.ebuild
index 215bbad953eb..05ff265c0379 100644
--- a/app-editors/gvim/gvim-9.0.0099.ebuild
+++ b/app-editors/gvim/gvim-9.0.0099.ebuild
@@ -247,6 +247,14 @@ src_configure() {
export ac_cv_func_sigaction=no
fi
+ if tc-is-cross-compiler ; then
+ export vim_cv_getcwd_broken=no \
+ vim_cv_memmove_handles_overlap=yes \
+ vim_cv_stat_ignores_slash=yes \
+ vim_cv_terminfo=yes \
+ vim_cv_toupper_broken=no
+ fi
+
econf \
--with-modified-by=Gentoo-${PVR} \
--with-vim-name=gvim \