vim: fix building for multiple archs

This commit is contained in:
Jeremy Soller 2025-04-21 16:06:44 -06:00
parent 6b617d0ad1
commit fff70c19c0
No known key found for this signature in database
GPG Key ID: 670FDFB5428E05CA

View File

@ -7,6 +7,8 @@ patch = ["vim.patch"]
dependencies = ["ncurses"]
template = "custom"
script = """
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
export vim_cv_toupper_broken=no
export vim_cv_tgetent=zero
export vim_cv_terminfo=yes
@ -14,13 +16,10 @@ export vim_cv_tty_group=world
export vim_cv_getcwd_broken=no
export vim_cv_stat_ignores_slash=yes
export vim_cv_memmove_handles_overlap=yes
export SRCDIR="${COOKBOOK_SOURCE}/src"
COOKBOOK_CONFIGURE="./configure"
COOKBOOK_CONFIGURE_FLAGS+=(
--with-tlib=ncurses
)
pushd "${SRCDIR}"
cookbook_configure
popd
"""