$OpenBSD: patch-config,v 1.7 2009/09/06 19:25:22 jolan Exp $
--- config.orig	Sun Sep  6 14:21:39 2009
+++ config	Sun Sep  6 14:22:00 2009
@@ -1,24 +1,24 @@
 # Installation directories
 
 # Default installation prefix
-PREFIX=/usr/local
+#PREFIX=/usr/local
 
 # System's libraries directory (where binary libraries are installed)
-LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
+LUA_LIBDIR= $(LOCALBASE)/lib/lua/5.1
 
 # Lua includes directory
-LUA_INC= $(PREFIX)/include
+LUA_INC= $(LOCALBASE)/include
 
 # OS dependent
 LIB_OPTION= -shared #for Linux
 #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
 
-LIBNAME= $T.so.$V
+LIBNAME= $T.so
 
 # Compilation directives
-WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
+#WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
 INCS= -I$(LUA_INC)
-CFLAGS= $(WARN) $(INCS)
-CC= gcc
+CFLAGS+= -fPIC $(INCS)
+#CC= gcc
 
 # $Id: patch-config,v 1.7 2009/09/06 19:25:22 jolan Exp $
