$NetBSD: patch-aa,v 1.11 2011/06/14 13:36:34 wiz Exp $ --- configure.orig 2009-07-08 09:57:36.000000000 +0000 +++ configure @@ -18993,7 +18993,7 @@ if test -z "$disable_lua"; then for suffix in "" 50; do if test "$cf_result" = no && ( test -f "$luadir/include/lua.h" || \ test -f "$luadir/include/lua$suffix/lua.h" ) ; then - LUA_LIBS="-L$luadir/lib -llua$suffix -llualib$suffix -lm" + LUA_LIBS="-L$luadir/lib -llua$suffix -lm" LUA_CFLAGS="-I$luadir/include -I$luadir/include/lua$suffix" LIBS="$LUA_LIBS $LIBS_X" @@ -25064,7 +25064,7 @@ _ACEOF # Create LIBDIR #define for config.h -LIBDIR=`eval echo "$libdir"` +LIBDIR="$LOCALEDIR" cat >>confdefs.h <<_ACEOF #define LIBDIR "$LIBDIR"