diff options
author | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-11-03 02:47:49 +0700 |
---|---|---|
committer | Vadim A. Misbakh-Soloviov <git@mva.name> | 2017-11-03 02:47:49 +0700 |
commit | 51e0b41f2baff035e5c37c75d45c381fa006e0ff (patch) | |
tree | 0708a6e78b3a14982a465e63217a037ea582d183 | |
parent | lua.eclass: revert c89-numbers on lua53 (diff) | |
download | lua-51e0b41f2baff035e5c37c75d45c381fa006e0ff.tar.gz lua-51e0b41f2baff035e5c37c75d45c381fa006e0ff.tar.bz2 lua-51e0b41f2baff035e5c37c75d45c381fa006e0ff.zip |
mpack: some cleanup in ebuild
-rw-r--r-- | dev-lua/mpack/mpack-1.0.4.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild index a9b7d1b..c6ba6f3 100644 --- a/dev-lua/mpack/mpack-1.0.4.ebuild +++ b/dev-lua/mpack/mpack-1.0.4.ebuild @@ -43,10 +43,13 @@ DEPEND=" " each_lua_prepare() { + # fixed in git HEAD sed \ -e '/^LUA_/d' \ -i Makefile + if lua_is_jit; then + # fixed in git HEAD sed \ -e '1i#define luaL_reg luaL_Reg' \ -i "${S}/lmpack.c" @@ -56,9 +59,7 @@ each_lua_prepare() { each_lua_compile() { local myemakeargs=( USE_SYSTEM_LUA=yes -# LUA_INCLUDE="$(lua_get_incdir)" -# LUA_LIB="" - # ^ lua modules shouldn't ever link against liblua + MPACK_LUA_VERSION_NOPATCH="$(lua_get_abi)" ) lua_default } |