vis: depend on liblua53
This commit is contained in:
parent
65a6121c83
commit
e6fa181664
@ -3,8 +3,12 @@ TERMUX_PKG_DESCRIPTION="Modern, legacy free, simple yet efficient vim-like edito
|
||||
TERMUX_PKG_LICENSE="ISC"
|
||||
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
||||
TERMUX_PKG_VERSION=0.6
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SRCURL=https://github.com/martanne/vis/archive/v$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=9ab4a3f1c5953475130b3c286af272fe5cfdf7cbb7f9fbebd31e9ea4f34e487d
|
||||
TERMUX_PKG_DEPENDS="liblua, libtermkey, lua-lpeg, ncurses"
|
||||
TERMUX_PKG_DEPENDS="liblua53, libtermkey, lua-lpeg, ncurses"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
|
||||
termux_step_pre_configure() {
|
||||
CFLAGS+=" -I$TERMUX_PREFIX/include/lua5.3"
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
diff -uNr vis-0.5/configure vis-0.5.mod/configure
|
||||
--- vis-0.5/configure 2018-03-25 20:55:55.000000000 +0300
|
||||
+++ vis-0.5.mod/configure 2019-02-25 23:23:27.018873339 +0200
|
||||
diff -uNr vis-0.6/configure vis-0.6.mod/configure
|
||||
--- vis-0.6/configure 2020-06-07 13:25:20.000000000 +0300
|
||||
+++ vis-0.6.mod/configure 2020-10-01 15:02:03.158788341 +0300
|
||||
@@ -422,60 +422,9 @@
|
||||
test "$lpeg" = "yes" && lua=yes
|
||||
|
||||
@ -61,7 +61,7 @@ diff -uNr vis-0.5/configure vis-0.5.mod/configure
|
||||
- fi
|
||||
+ CONFIG_LUA=1
|
||||
+ CFLAGS_LUA="-DLUA_COMPAT_5_1 -DLUA_COMPAT_5_2 -DLUA_COMPAT_ALL"
|
||||
+ LDFLAGS_LUA="-llua -lm"
|
||||
+ LDFLAGS_LUA="-llua5.3 -lm"
|
||||
fi
|
||||
|
||||
CONFIG_LPEG=0
|
||||
|
Loading…
Reference in New Issue
Block a user