$NetBSD: patch-ac,v 1.7 2007/07/02 13:36:39 joerg Exp $

--- src/luaconf.h.orig	2007-03-24 04:01:55.000000000 +0100
+++ src/luaconf.h
@@ -94,7 +94,9 @@
 	".\\?.dll;"  LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
 
 #else
+#ifndef LUA_ROOT
 #define LUA_ROOT	"/usr/local/"
+#endif
 #define LUA_LDIR	LUA_ROOT "share/lua/5.1/"
 #define LUA_CDIR	LUA_ROOT "lib/lua/5.1/"
 #define LUA_PATH_DEFAULT  \
