mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-31 18:02:57 +02:00
luajit: update to 2.1.1748459687, enable LUAJIT_ENABLE_LUA52COMPAT
This enables Lua 5.2 compatibility APIs without changing the ABI (still Lua 5.1). Required by some applications (e.g. Aegisub). Co-authored-by: Daniel Martinez <danielpedromartinez@duck.com> Closes: #55648 [via git-merge-pr]
This commit is contained in:
parent
e1836a1e8c
commit
97618aeef1
1 changed files with 4 additions and 9 deletions
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'LuaJIT'
|
||||
pkgname=LuaJIT
|
||||
# the minor version is the contents of the .relver file in the source tarball
|
||||
version=2.1.1736781742
|
||||
version=2.1.1748459687
|
||||
revision=1
|
||||
_commit_hash=a4f56a459a588ae768801074b46ba0adcfb49eb1
|
||||
_commit_hash=f9140a622a0c44a99efb391cc1c2358bc8098ab7
|
||||
build_style=gnu-makefile
|
||||
hostmakedepends="lua52-BitOp"
|
||||
short_desc="Just-In-Time Compiler for Lua"
|
||||
|
@ -11,10 +11,7 @@ maintainer="Daniel Martinez <danielmartinez@cock.li>"
|
|||
license="MIT"
|
||||
homepage="https://www.luajit.org"
|
||||
distfiles="https://repo.or.cz/luajit-2.0.git/snapshot/${_commit_hash}.tar.gz"
|
||||
checksum=dee14dd4d199f2d548bdcec2ab0b0693de602213a3d72aa9457ecd3e67c40e7a
|
||||
|
||||
build_options="lua52compat"
|
||||
desc_option_lua52compat="higher compatibility with lua 5.2"
|
||||
checksum=a1af74fca9971355dc6d4cf32d56e278aa8897898ab5f62725de5aeb730ee381
|
||||
|
||||
_host_cc="cc"
|
||||
if [ -n "$CROSS_BUILD" ]; then
|
||||
|
@ -31,9 +28,7 @@ if [ -n "$CROSS_BUILD" ]; then
|
|||
fi
|
||||
|
||||
pre_build() {
|
||||
if [ "$build_option_lua52compat" ]; then
|
||||
make_build_args+=" XCFLAGS=-DLUAJIT_ENABLE_LUA52COMPAT"
|
||||
fi
|
||||
make_build_args+=" XCFLAGS=-DLUAJIT_ENABLE_LUA52COMPAT"
|
||||
}
|
||||
|
||||
do_build() {
|
||||
|
|
Loading…
Add table
Reference in a new issue