33 lines
967 B
Plaintext
33 lines
967 B
Plaintext
$OpenBSD: patch-config,v 1.5 2006/09/24 16:56:08 pedro Exp $
|
|
--- config.orig Sun Sep 24 13:34:34 2006
|
|
+++ config Sun Sep 24 13:36:22 2006
|
|
@@ -1,20 +1,22 @@
|
|
# 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
|
|
+# Location of the Lua interpreter.
|
|
+LUA= $(PREFIX)/bin/lua
|
|
|
|
# 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.5 2006/09/24 16:56:08 pedro Exp $
|