mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-04 02:28:45 +08:00
vim: fix building for multiple archs
This commit is contained in:
parent
6b617d0ad1
commit
fff70c19c0
@ -7,6 +7,8 @@ patch = ["vim.patch"]
|
|||||||
dependencies = ["ncurses"]
|
dependencies = ["ncurses"]
|
||||||
template = "custom"
|
template = "custom"
|
||||||
script = """
|
script = """
|
||||||
|
rsync -av --delete "${COOKBOOK_SOURCE}/" ./
|
||||||
|
|
||||||
export vim_cv_toupper_broken=no
|
export vim_cv_toupper_broken=no
|
||||||
export vim_cv_tgetent=zero
|
export vim_cv_tgetent=zero
|
||||||
export vim_cv_terminfo=yes
|
export vim_cv_terminfo=yes
|
||||||
@ -14,13 +16,10 @@ export vim_cv_tty_group=world
|
|||||||
export vim_cv_getcwd_broken=no
|
export vim_cv_getcwd_broken=no
|
||||||
export vim_cv_stat_ignores_slash=yes
|
export vim_cv_stat_ignores_slash=yes
|
||||||
export vim_cv_memmove_handles_overlap=yes
|
export vim_cv_memmove_handles_overlap=yes
|
||||||
export SRCDIR="${COOKBOOK_SOURCE}/src"
|
|
||||||
|
|
||||||
|
COOKBOOK_CONFIGURE="./configure"
|
||||||
COOKBOOK_CONFIGURE_FLAGS+=(
|
COOKBOOK_CONFIGURE_FLAGS+=(
|
||||||
--with-tlib=ncurses
|
--with-tlib=ncurses
|
||||||
)
|
)
|
||||||
|
|
||||||
pushd "${SRCDIR}"
|
|
||||||
cookbook_configure
|
cookbook_configure
|
||||||
popd
|
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user