--- lua-5.1.5.old/Makefile +++ lua-5.1.5/Makefile @@ -9,7 +9,8 @@ # Where to install. The installation starts in the src and doc directories, # so take care if INSTALL_TOP is not an absolute path. -INSTALL_TOP= /usr/local + +INSTALL_TOP= __META_PREFIX__ INSTALL_BIN= $(INSTALL_TOP)/bin INSTALL_INC= $(INSTALL_TOP)/include INSTALL_LIB= $(INSTALL_TOP)/lib --- lua-5.1.5.old/src/luaconf.h +++ lua-5.1.5/src/luaconf.h @@ -94,7 +94,7 @@ ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll" #else -#define LUA_ROOT "/usr/local/" +#define LUA_ROOT "__META_PREFIX__/" #define LUA_LDIR LUA_ROOT "share/lua/5.1/" #define LUA_CDIR LUA_ROOT "lib/lua/5.1/" #define LUA_PATH_DEFAULT \