summaryrefslogtreecommitdiffstats
path: root/package/lua/lua-01-root-path.patch
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2014-01-17 18:47:35 +0100
committerPeter Korsgaard <peter@korsgaard.com>2014-01-21 23:27:13 +0100
commitba296ab1eaeab5ab68c596f7723932788749c9c6 (patch)
treeaedd7608058c10eee77924dee98edc45a57e2719 /package/lua/lua-01-root-path.patch
parent93341046d8e25ee6f135a34a8989598de22e32ca (diff)
downloadbuildroot-ba296ab1eaeab5ab68c596f7723932788749c9c6.tar.gz
buildroot-ba296ab1eaeab5ab68c596f7723932788749c9c6.zip
lua: choice between 5.1.x & 5.2.x
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lua/lua-01-root-path.patch')
-rw-r--r--package/lua/lua-01-root-path.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/lua/lua-01-root-path.patch b/package/lua/lua-01-root-path.patch
deleted file mode 100644
index fd0da6eb57..0000000000
--- a/package/lua/lua-01-root-path.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-Adjust installation location to /usr.
-
-Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
-
-Index: b/etc/lua.pc
-===================================================================
---- a/etc/lua.pc
-+++ b/etc/lua.pc
-@@ -8,7 +8,7 @@
- R= 5.1.5
-
- # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
--prefix= /usr/local
-+prefix= /usr
- INSTALL_BIN= ${prefix}/bin
- INSTALL_INC= ${prefix}/include
- INSTALL_LIB= ${prefix}/lib
-Index: b/src/luaconf.h
-===================================================================
---- a/src/luaconf.h
-+++ b/src/luaconf.h
-@@ -94,7 +94,7 @@
- ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
-
- #else
--#define LUA_ROOT "/usr/local/"
-+#define LUA_ROOT "/usr/"
- #define LUA_LDIR LUA_ROOT "share/lua/5.1/"
- #define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
- #define LUA_PATH_DEFAULT \
OpenPOWER on IntegriCloud