From c41dfb2844e3b54f77c7877a2ef0960b99d316396eb62ae456ee17edae4dea62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 13 Jul 2017 17:57:42 +0000 Subject: [PATCH] Fix the libdir settings OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua53?expand=0&rev=19 --- lua-build-system.patch | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/lua-build-system.patch b/lua-build-system.patch index e61335a..2072d8f 100644 --- a/lua-build-system.patch +++ b/lua-build-system.patch @@ -150,15 +150,12 @@ Index: lua-5.3.4/src/luaconf.h =================================================================== --- lua-5.3.4.orig/src/luaconf.h +++ lua-5.3.4/src/luaconf.h -@@ -200,9 +200,9 @@ +@@ -200,7 +200,7 @@ #else /* }{ */ -#define LUA_ROOT "/usr/local/" +#define LUA_ROOT "/usr/" #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR "/" --#define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/" -+#define LUA_CDIR LUA_ROOT "LIBDIR/lua/" LUA_VDIR "/" + #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR "/" #define LUA_PATH_DEFAULT \ - LUA_LDIR"?.lua;" LUA_LDIR"?/init.lua;" \ - LUA_CDIR"?.lua;" LUA_CDIR"?/init.lua;" \