Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/vim-core/
Date: Tue, 23 Aug 2022 05:24:30
Message-Id: 1661232237.9a77abf00e3d75523e999e9dae30aed6e30409aa.sam@gentoo
1 commit: 9a77abf00e3d75523e999e9dae30aed6e30409aa
2 Author: Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
3 AuthorDate: Wed Aug 17 23:18:09 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=9a77abf0
7
8 app-editor/vim-core: 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-core/vim-core-9.0.0099.ebuild | 8 ++++++++
14 1 file changed, 8 insertions(+)
15
16 diff --git a/app-editors/vim-core/vim-core-9.0.0099.ebuild b/app-editors/vim-core/vim-core-9.0.0099.ebuild
17 index 8bea948c71c7..8249383faac5 100644
18 --- a/app-editors/vim-core/vim-core-9.0.0099.ebuild
19 +++ b/app-editors/vim-core/vim-core-9.0.0099.ebuild
20 @@ -148,6 +148,14 @@ src_configure() {
21 # Keep Gentoo 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 "${myconf[@]}"
33 }