$OpenBSD: patch-src_makefile,v 1.7 2011/04/09 08:02:37 benoit Exp $ --- src/makefile.orig Wed Feb 9 22:56:23 2011 +++ src/makefile Sun Apr 3 11:14:04 2011 @@ -12,11 +12,11 @@ # See src/gui-qt/highlight.pro for the Qt GUI compilation options -CXX=c++ +#CXX=c++ QMAKE=qmake -CFLAGS:=-Wall -O2 ${CFLAGS} -DNDEBUG +#CFLAGS:=-Wall -O2 ${CFLAGS} -DNDEBUG #CFLAGS:=-ggdb ${CFLAGS} -DNDEBUG CFLAGS_DILU=-fno-strict-aliasing @@ -32,7 +32,7 @@ INCLUDE_DIR=./include/ # Lua paths -LUA_CFLAGS=-I/usr/include/lua5.1 +LUA_CFLAGS=-I${LOCALBASE}/include LUA_LIBS=-llua #LUA_CFLAGS=$(shell pkg-config --cflags lua5.1) #LUA_LIBS=$(shell pkg-config --libs lua5.1)