termux-packages/packages/liblua52/lua-5.2.4_src_luaconf.h.patch
Leonid Pliushch 947928aa4d move some packages from termux/unstable-packages
Most of them are dependencies for packages X11 and unstable repositories.
2019-03-18 21:30:39 +02:00

13 lines
490 B
Diff

diff -uNr lua-5.2.4/src/luaconf.h lua-5.2.4.mod/src/luaconf.h
--- lua-5.2.4/src/luaconf.h 2013-11-21 19:26:16.000000000 +0200
+++ lua-5.2.4.mod/src/luaconf.h 2018-06-26 16:12:33.824499040 +0300
@@ -100,7 +100,7 @@
#else /* }{ */
#define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/"
-#define LUA_ROOT "/usr/local/"
+#define LUA_ROOT "@TERMUX_PREFIX@/"
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR
#define LUA_PATH_DEFAULT \