1 |
commit: 51e0b41f2baff035e5c37c75d45c381fa006e0ff |
2 |
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name> |
3 |
AuthorDate: Thu Nov 2 19:47:49 2017 +0000 |
4 |
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name> |
5 |
CommitDate: Thu Nov 2 19:47:49 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/lua.git/commit/?id=51e0b41f |
7 |
|
8 |
mpack: some cleanup in ebuild |
9 |
|
10 |
dev-lua/mpack/mpack-1.0.4.ebuild | 7 ++++--- |
11 |
1 file changed, 4 insertions(+), 3 deletions(-) |
12 |
|
13 |
diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild |
14 |
index a9b7d1b..c6ba6f3 100644 |
15 |
--- a/dev-lua/mpack/mpack-1.0.4.ebuild |
16 |
+++ b/dev-lua/mpack/mpack-1.0.4.ebuild |
17 |
@@ -43,10 +43,13 @@ DEPEND=" |
18 |
" |
19 |
|
20 |
each_lua_prepare() { |
21 |
+ # fixed in git HEAD |
22 |
sed \ |
23 |
-e '/^LUA_/d' \ |
24 |
-i Makefile |
25 |
+ |
26 |
if lua_is_jit; then |
27 |
+ # fixed in git HEAD |
28 |
sed \ |
29 |
-e '1i#define luaL_reg luaL_Reg' \ |
30 |
-i "${S}/lmpack.c" |
31 |
@@ -56,9 +59,7 @@ each_lua_prepare() { |
32 |
each_lua_compile() { |
33 |
local myemakeargs=( |
34 |
USE_SYSTEM_LUA=yes |
35 |
-# LUA_INCLUDE="$(lua_get_incdir)" |
36 |
-# LUA_LIB="" |
37 |
- # ^ lua modules shouldn't ever link against liblua |
38 |
+ MPACK_LUA_VERSION_NOPATCH="$(lua_get_abi)" |
39 |
) |
40 |
lua_default |
41 |
} |