1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/lang/tolua4/files/patch-config
Edwin Groothuis a83e62a434 toLua is a tool that greatly simplifies the integration of C/C++
code with Lua. Based on a "cleaned" header file, toLua automatically
generates the binding code to access C/C++ features from Lua. Using
Lua-5.0 API and tag method facilities, the current version automatically
maps C/C++ constants, external variables, functions, namespace,
classes, and methods to Lua. It also provides facilities to create
Lua modules.

WWW: http://www.tecgraf.puc-rio.br/~celes/tolua/

Author: Waldemar Celes <celes@tecgraf.puc-rio.br>
2004-11-21 09:32:07 +00:00

27 lines
556 B
Plaintext

--- config.orig Sun Nov 21 20:12:01 2004
+++ config Sun Nov 21 20:12:39 2004
@@ -3,7 +3,7 @@
# == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT ======================
# you need an ANSI C compiler. gcc is a popular one.
-CC= gcc
+#CC= gcc
WARN= -ansi -Wall
# on SGI's, cc is ANSI.
@@ -20,7 +20,7 @@
AR= ar rcu
# set lua path
-LUA=/usr/local/lua
+LUA=${LOCALBASE}
LUAINC=$(LUA)/include
LUALIB=$(LUA)/lib
@@ -29,4 +29,4 @@
INC= -I$(LUAINC) -I$(TOLUA)/include
LIB= -L$(LUALIB)
-CFLAGS= -O2 $(WARN) $(INC)
+CFLAGS+= -O2 $(WARN) $(INC)