mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
main/vim: factor out $_luaver
so the lua version does not need to be repeated in multiple places
This commit is contained in:
parent
c3d484257f
commit
1ddcef60e2
@ -11,11 +11,12 @@ url="https://www.vim.org/"
|
||||
arch="all"
|
||||
license="Vim"
|
||||
options="!check" # some tests are failing
|
||||
_luaver=5.4
|
||||
makedepends="
|
||||
gtk+3.0-dev
|
||||
libx11-dev
|
||||
libxt-dev
|
||||
lua5.4-dev
|
||||
lua$_luaver-dev
|
||||
ncurses-dev
|
||||
perl-dev
|
||||
python3-dev
|
||||
@ -217,7 +218,8 @@ prepare() {
|
||||
}
|
||||
|
||||
_build() {
|
||||
vi_cv_version_plain_lua=5.4 ./configure \
|
||||
vi_cv_version_plain_lua=$_luaver \
|
||||
./configure \
|
||||
--build=$CBUILD \
|
||||
--host=$CHOST \
|
||||
--prefix=/usr \
|
||||
@ -229,7 +231,7 @@ _build() {
|
||||
--disable-nls \
|
||||
--enable-acl \
|
||||
--enable-multibyte \
|
||||
--with-lua-prefix=/usr/lua5.4 \
|
||||
--with-lua-prefix=/usr/lua$_luaver \
|
||||
--with-compiledby="Alpine Linux" \
|
||||
"$@"
|
||||
make
|
||||
|
Loading…
Reference in New Issue
Block a user