$OpenBSD: patch-config,v 1.4 2006/07/30 04:38:39 pedro Exp $
--- config.orig	Thu Jul 27 16:38:52 2006
+++ config	Thu Jul 27 16:39:09 2006
@@ -1,20 +1,20 @@
 # Installation directories
 # System's libraries directory (where binary libraries are installed)
-LUA_LIBDIR= /usr/local/lib/lua/5.0
+LUA_LIBDIR= $(LOCALBASE)/lib
 # Lua includes directory
-LUA_INC= /usr/local/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= lfs.so
 COMPAT_DIR= ../compat/src
 
 # Compilation directives
 WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings
-INCS= -I$(LUA_INC) -I$(COMPAT_DIR)
-CFLAGS= $(WARN) $(INCS)
-CC= gcc
+INCS= -I$(LUA_INC)
+CFLAGS+= -fPIC
+CC= cc
 
 # $Id: patch-config,v 1.4 2006/07/30 04:38:39 pedro Exp $
