aboutsummaryrefslogtreecommitdiff
path: root/lang/tolua++/files
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2006-09-15 08:17:11 +0000
committerMark Linimon <linimon@FreeBSD.org>2006-09-15 08:17:11 +0000
commitc5aeb93cd5e4998728da54611bdf63c686a2fdfd (patch)
treef418d7aa01e7bae10fc4d0734eec45cd9e925529 /lang/tolua++/files
parentf4c5a682e5c43c1c1477307463458409ae3b3de5 (diff)
downloadports-c5aeb93cd5e4998728da54611bdf63c686a2fdfd.tar.gz
ports-c5aeb93cd5e4998728da54611bdf63c686a2fdfd.zip
Modify these files to reflect bsd.lua.mk as tested on the cluster.
PR: ports/101612 Submitted by: alepulver Hat: portmgr
Notes
Notes: svn path=/head/; revision=173100
Diffstat (limited to 'lang/tolua++/files')
-rw-r--r--lang/tolua++/files/patch-config_posix.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/lang/tolua++/files/patch-config_posix.py b/lang/tolua++/files/patch-config_posix.py
index f6771d7e4d4c..3d001f49dd63 100644
--- a/lang/tolua++/files/patch-config_posix.py
+++ b/lang/tolua++/files/patch-config_posix.py
@@ -1,18 +1,20 @@
---- config_posix.py.orig Thu Jan 20 20:01:08 2005
-+++ config_posix.py Wed Jan 18 11:05:32 2006
+--- ./config_posix.py.orig Fri Jan 21 00:01:08 2005
++++ ./config_posix.py Sun Aug 27 14:25:40 2006
@@ -5,7 +5,7 @@
# flags for the compiler
#CCFLAGS = []
-CCFLAGS = ['-O2', '-ansi', '-Wall']
-+CCFLAGS = ['-O2', '-ansi', '-Wall', '-I/usr/local/include']
++CCFLAGS = ['-O2', '-ansi', '-Wall', '-I%%LOCALBASE%%/include', '-I%%LUA_INCDIR%%']
# this is the default directory for installation. Files will be installed on
# <prefix>/bin, <prefix>/lib and <prefix>/include when you run 'scons install'
-@@ -17,5 +17,5 @@
+@@ -16,6 +16,6 @@
+ prefix = '/usr/local'
# libraries
- LIBS = ['lua', 'lualib', 'm']
+-LIBS = ['lua', 'lualib', 'm']
-
-+LINKFLAGS = ['-L/usr/local/lib']
++LIBS = ['lua-%%LUA_VER%%', 'lualib-%%LUA_VER%%', 'm']
++LINKFLAGS = ['-L%%LOCALBASE%%/lib', '-L%%LUA_LIBDIR%%']