aboutsummaryrefslogtreecommitdiff
path: root/devel/luabind/files/patch-src-makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/luabind/files/patch-src-makefile')
-rw-r--r--devel/luabind/files/patch-src-makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/devel/luabind/files/patch-src-makefile b/devel/luabind/files/patch-src-makefile
new file mode 100644
index 000000000000..e4458ebe0ac7
--- /dev/null
+++ b/devel/luabind/files/patch-src-makefile
@@ -0,0 +1,17 @@
+--- src/makefile.orig Mon Nov 28 23:55:34 2005
++++ src/makefile Wed Jun 6 21:18:26 2007
+@@ -1,5 +1,3 @@
+-include ../config
+-
+ SOURCES = \
+ wrapper_base.cpp \
+ pcall.cpp \
+@@ -37,7 +35,7 @@
+ ranlib $@
+
+ %.o:%.cpp
+- $(CXX) -g -ftemplate-depth-100 -Wall -DLUABIND_BUILDING -c $? -o $@ -I$(LUA_PATH)/include -I- -I.. -I$(BOOST_ROOT) $(CONFIG)
++ $(CXX) $(CXXFLAGS) -ftemplate-depth-100 -Wall -DLUABIND_BUILDING -c $? -o $@ -I$(LUA_INCDIR) -I.. -I$(BOOST_ROOT) -DNODEBUG
+
+ clean:
+ rm -f $(OBJECTS) $(TARGET)