openbsd-ports/misc/dvtm/patches/patch-config_mk

33 lines
903 B
Plaintext

$OpenBSD: patch-config_mk,v 1.6 2009/10/11 21:59:02 sthen Exp $
--- config.mk.orig Tue Jul 7 19:29:12 2009
+++ config.mk Sun Oct 11 21:24:40 2009
@@ -3,15 +3,15 @@ VERSION = 0.5.2
# 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
-LIBS = -lc -lutil -lncursesw
-#LIBS = -lc -lutil -lncurses
+INCS = -I. -I/usr/include
+#LIBS = -lc -lutil -lncursesw
+LIBS = -lc -lutil -lncurses
-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 += -DCONFIG_MOUSE
@@ -20,4 +20,4 @@ CFLAGS += -DCONFIG_STATUSBAR
DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall
-CC = cc
+CC ?= cc