Commit 566e5709 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

main/lua5.2: fix common module path

parent 3b5a0401
......@@ -2,7 +2,7 @@
pkgname=lua5.2
pkgver=5.2.4
_luaver=${pkgname#lua}
pkgrel=6
pkgrel=7
pkgdesc="Powerful light-weight programming language"
url="https://www.lua.org/"
arch="all"
......@@ -141,4 +141,4 @@ libs() {
sha512sums="cd77148aba4b707b6c159758b5e8444e04f968092eb98f6b4c405b2fb647e709370d5a8dcf604176101d3407e196a7433b5dcdce4fe9605c76191d3649d61a8c lua-5.2.4.tar.gz
f1d5e0a1db0790fae82dd6de5742631c6c4ca009752630a612d864746990a00c8f2eacc7dbf07be2bce94d04da4ad185ed10dc317d7bf093df698bf84fea682e lua-5.2-make.patch
1665c896925357c1f0404697f5f479c2928fb709b6f4464dc422027245200891ef714edf8fc1456ba3e5b0806a42ca2c40f903afa9584cd59e40f5418144c073 lua-5.2-module_paths.patch"
ca11e6b92acbdb3430faeeaa45fe1326043c3fff19da22a5d22ca38bff98635df3e33266046b1bf02302090f222dd5ab28759b4ed587da26ceb6e1dae6859829 lua-5.2-module_paths.patch"
......@@ -9,7 +9,7 @@ index df802c9..f8f64e0 100644
+#define LUA_ROOT2 "/usr/"
#define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR
+#define LUA_LDIR2 LUA_ROOT2 "share/lua/" LUA_VDIR
+#define LUA_LDIR3 LUA_ROOT2 "share/common/"
+#define LUA_LDIR3 LUA_ROOT2 "share/lua/common/"
#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR
+#define LUA_CDIR2 LUA_ROOT2 "lib/lua/" LUA_VDIR
#define LUA_PATH_DEFAULT \
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment