openbsd-ports/textproc/highlight/patches/patch-src_makefile
benoit fe3fda9f56 - update highlight to 3.2
- update plist
- update patches
- add BUILD_DEPENDS and LIB_DEPENDS

ok ajacoutot@
2011-04-03 07:45:23 +00:00

27 lines
609 B
Plaintext

$OpenBSD: patch-src_makefile,v 1.6 2011/04/03 07:45:26 benoit Exp $
--- src/makefile.orig Wed Nov 10 22:48:12 2010
+++ src/makefile Sun Nov 21 16:21:16 2010
@@ -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/
# Ubuntu path:
-LUA_INCLUDE_DIR=/usr/include/lua5.1
+LUA_INCLUDE_DIR=${LOCALBASE}/include
LUA_LIB_NAME=lua
#LUA_LIB_NAME=lua5.1