openbsd-ports/textproc/highlight/patches/patch-src_makefile
benoit fbaeac3920 - update highlight to 3.4
- update patch
- regen PLIST

ok jasper@
2011-04-09 08:02:34 +00:00

27 lines
668 B
Plaintext

$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)