ports/lang/luajit/patches/patch-src_luaconf_h

15 lines
431 B
Text

--- src/luaconf.h.orig Tue May 2 04:11:00 2017
+++ src/luaconf.h Tue May 2 11:42:59 2017
@@ -35,9 +35,9 @@
#ifndef LUA_LMULTILIB
#define LUA_LMULTILIB "lib"
#endif
-#define LUA_LROOT "/usr/local"
-#define LUA_LUADIR "/lua/5.1/"
-#define LUA_LJDIR "/luajit-2.0.5/"
+#define LUA_LROOT "${TRUEPREFIX}"
+#define LUA_LUADIR "/lua/${MODLUA_VERSION}/"
+#define LUA_LJDIR "/luajit-2.0/"
#ifdef LUA_ROOT
#define LUA_JROOT LUA_ROOT