$OpenBSD: patch-src_luaconf_h,v 1.2 2017/05/05 10:21:47 jsg Exp $
--- 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
