1 |
commit: 9711e66907f463dbafc06d8c3c0605fe44d0dc2e |
2 |
Author: Alfred Persson Forsberg <cat <AT> catcream <DOT> org> |
3 |
AuthorDate: Wed Aug 17 23:17:59 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 23 05:23:57 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9711e669 |
7 |
|
8 |
app-editor/vim: provide configure defaults when cross compiling |
9 |
|
10 |
Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
app-editors/vim/vim-9.0.0099.ebuild | 8 ++++++++ |
14 |
1 file changed, 8 insertions(+) |
15 |
|
16 |
diff --git a/app-editors/vim/vim-9.0.0099.ebuild b/app-editors/vim/vim-9.0.0099.ebuild |
17 |
index b3882ef81361..ac5d29c84a4c 100644 |
18 |
--- a/app-editors/vim/vim-9.0.0099.ebuild |
19 |
+++ b/app-editors/vim/vim-9.0.0099.ebuild |
20 |
@@ -247,6 +247,14 @@ src_configure() { |
21 |
# keep prefix env contained within the EPREFIX |
22 |
use prefix && myconf+=( --without-local-dir ) |
23 |
|
24 |
+ if tc-is-cross-compiler ; then |
25 |
+ export vim_cv_getcwd_broken=no \ |
26 |
+ vim_cv_memmove_handles_overlap=yes \ |
27 |
+ vim_cv_stat_ignores_slash=yes \ |
28 |
+ vim_cv_terminfo=yes \ |
29 |
+ vim_cv_toupper_broken=no |
30 |
+ fi |
31 |
+ |
32 |
econf \ |
33 |
--with-modified-by=Gentoo-${PVR} \ |
34 |
"${myconf[@]}" |