lua: enable posix features.

This commit is contained in:
Jerome Duval
2017-01-21 20:30:11 +01:00
parent 100219f4d5
commit 0b5473d51d

View File

@@ -8,7 +8,7 @@ HOMEPAGE="https://www.lua.org/"
COPYRIGHT="1994-2016 Roberto Ierusalimschy, Waldemar Celes, Luiz Henrique de \
Figueiredo"
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://www.lua.org/ftp/lua-$portVersion.tar.gz"
CHECKSUM_SHA256="5113c06884f7de453ce57702abaac1d618307f33f6789fa870e87a59d772aca2"
PATCHES="lua-$portVersion.patchset"
@@ -51,7 +51,7 @@ BUILD_PREREQUIRES="
BUILD()
{
make haiku MYCFLAGS="-DLUA_COMPAT_5_1 -DLUA_ROOT='\"$prefix/\"' -DLUA_LDIR='\"$dataDir/lua/5.3/\"'" \
make haiku MYCFLAGS="-DLUA_USE_POSIX -DLUA_COMPAT_5_1 -DLUA_ROOT='\"$prefix/\"' -DLUA_LDIR='\"$dataDir/lua/5.3/\"'" \
LUA_T="lua5.3" LUAC_T="luac5.3" LUA_SO="liblua.so.5.3"
}