diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-04 19:18:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-04 19:18:10 +0100 |
commit | 07b0c0005f55e652101816d9f4cfe73403bf0906 (patch) | |
tree | b29108de370177e8ce7c0d0d60e1e4319851d99b /app-editors/vim/vim-9999.ebuild | |
parent | 78754950ffa3aaba0f48b1ca1d505caa4a3dfbfa (diff) |
gentoo auto-resync : 04:10:2022 - 19:18:10
Diffstat (limited to 'app-editors/vim/vim-9999.ebuild')
-rw-r--r-- | app-editors/vim/vim-9999.ebuild | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/app-editors/vim/vim-9999.ebuild b/app-editors/vim/vim-9999.ebuild index cf0e1d36f09c..5ffcda64baac 100644 --- a/app-editors/vim/vim-9999.ebuild +++ b/app-editors/vim/vim-9999.ebuild @@ -11,7 +11,7 @@ PYTHON_COMPAT=( python3_{8..11} ) PYTHON_REQ_USE="threads(+)" USE_RUBY="ruby27 ruby30 ruby31" -inherit vim-doc flag-o-matic bash-completion-r1 lua-single python-single-r1 ruby-single desktop xdg-utils +inherit vim-doc flag-o-matic bash-completion-r1 lua-single python-single-r1 ruby-single toolchain-funcs desktop xdg-utils if [[ ${PV} == 9999* ]] ; then inherit git-r3 @@ -78,7 +78,7 @@ src_prepare() { if [[ ${PV} != 9999* ]] ; then # Gentoo patches to fix runtime issues, cross-compile errors, etc - eapply "${WORKDIR}/vim-patches-vim-9.0.0049-patches" + eapply "${WORKDIR}"/vim-patches-vim-9.0.0049-patches fi # Fixup a script to use awk instead of nawk @@ -224,6 +224,10 @@ src_configure() { fi if use lua; then + # -DLUA_COMPAT_OPENLIB=1 is required to enable the + # deprecated (in 5.1) luaL_openlib API (#874690) + use lua_single_target_lua5-1 && append-cppflags -DLUA_COMPAT_OPENLIB=1 + myconf+=( --enable-luainterp $(use_with lua_single_target_luajit luajit) @@ -246,6 +250,14 @@ src_configure() { # keep 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 \ --with-modified-by=Gentoo-${PVR} \ "${myconf[@]}" |