0001-root-path.patch 820 B

123456789101112131415161718192021222324252627282930
  1. Adjust installation location to /usr.
  2. Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
  3. Index: b/etc/lua.pc
  4. ===================================================================
  5. --- a/etc/lua.pc
  6. +++ b/etc/lua.pc
  7. @@ -8,7 +8,7 @@
  8. R= 5.1.5
  9. # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
  10. -prefix= /usr/local
  11. +prefix= /usr
  12. INSTALL_BIN= ${prefix}/bin
  13. INSTALL_INC= ${prefix}/include
  14. INSTALL_LIB= ${prefix}/lib
  15. Index: b/src/luaconf.h
  16. ===================================================================
  17. --- a/src/luaconf.h
  18. +++ b/src/luaconf.h
  19. @@ -94,7 +94,7 @@
  20. ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
  21. #else
  22. -#define LUA_ROOT "/usr/local/"
  23. +#define LUA_ROOT "/usr/"
  24. #define LUA_LDIR LUA_ROOT "share/lua/5.1/"
  25. #define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
  26. #define LUA_PATH_DEFAULT \