commit: 9a77abf00e3d75523e999e9dae30aed6e30409aa
Author: Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
AuthorDate: Wed Aug 17 23:18:09 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 05:23:57 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a77abf0
app-editor/vim-core: provide configure defaults when cross compiling
Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-editors/vim-core/vim-core-9.0.0099.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/app-editors/vim-core/vim-core-9.0.0099.ebuild
b/app-editors/vim-core/vim-core-9.0.0099.ebuild
index 8bea948c71c7..8249383faac5 100644
--- a/app-editors/vim-core/vim-core-9.0.0099.ebuild
+++ b/app-editors/vim-core/vim-core-9.0.0099.ebuild
@@ -148,6 +148,14 @@ src_configure() {
# Keep Gentoo Prefix env contained within the EPREFIX
use prefix && myconf+=( --without-local-dir )
+ 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 "${myconf[@]}"
}