openbsd-ports/misc/dvtm/patches/patch-config_mk
okan 04d2b544c8 PREFIX != LOCALBASE
ok landry@
2008-07-16 17:45:23 +00:00

30 lines
799 B
Plaintext

$OpenBSD: patch-config_mk,v 1.3 2008/07/16 17:45:23 okan Exp $
--- config.mk.orig Sat May 10 12:39:01 2008
+++ config.mk Wed Jul 9 11:39:41 2008
@@ -3,19 +3,19 @@ VERSION = 0.4.1
# Customize below to fit your system
-PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/share/man
+#PREFIX = /usr/local
+MANPREFIX = ${PREFIX}/man
-INCS = -I. -I/usr/include -I/usr/local/include
+INCS = -I. -I/usr/include
LIBS = -lc -lutil -lncurses
LIBS_UTF8 = -lc -lutil -lncursesw
-CFLAGS += -std=c99 -Os ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG
-LDFLAGS += -L/usr/lib -L/usr/local/lib ${LIBS}
+CFLAGS += -std=c99 ${INCS} -DVERSION=\"${VERSION}\" -DNDEBUG
+LDFLAGS += -L/usr/lib ${LIBS}
# Mouse handling
CFLAGS += -DHANDLE_MOUSE
DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall
-CC = cc
+CC ?= cc