patch-src_luaconf_h 497 B

1234567891011121314151617
  1. $OpenBSD: patch-src_luaconf_h,v 1.2 2017/05/05 10:21:47 jsg Exp $
  2. --- src/luaconf.h.orig Tue May 2 04:11:00 2017
  3. +++ src/luaconf.h Tue May 2 11:42:59 2017
  4. @@ -35,9 +35,9 @@
  5. #ifndef LUA_LMULTILIB
  6. #define LUA_LMULTILIB "lib"
  7. #endif
  8. -#define LUA_LROOT "/usr/local"
  9. -#define LUA_LUADIR "/lua/5.1/"
  10. -#define LUA_LJDIR "/luajit-2.0.5/"
  11. +#define LUA_LROOT "${TRUEPREFIX}"
  12. +#define LUA_LUADIR "/lua/${MODLUA_VERSION}/"
  13. +#define LUA_LJDIR "/luajit-2.0/"
  14. #ifdef LUA_ROOT
  15. #define LUA_JROOT LUA_ROOT