2010-11-24 08:09:11 -05:00
|
|
|
$OpenBSD: patch-config_mk,v 1.7 2010/11/24 13:09:11 jasper Exp $
|
|
|
|
--- config.mk.orig Fri Oct 8 18:06:05 2010
|
|
|
|
+++ config.mk Wed Nov 24 09:28:42 2010
|
|
|
|
@@ -3,15 +3,15 @@ VERSION = 0.6
|
2008-07-09 16:40:23 -04:00
|
|
|
|
2008-07-09 07:20:43 -04:00
|
|
|
# Customize below to fit your system
|
|
|
|
|
2008-07-09 16:40:23 -04:00
|
|
|
-PREFIX = /usr/local
|
2008-07-09 07:20:43 -04:00
|
|
|
-MANPREFIX = ${PREFIX}/share/man
|
2008-07-16 13:45:23 -04:00
|
|
|
+#PREFIX = /usr/local
|
2008-07-09 07:20:43 -04:00
|
|
|
+MANPREFIX = ${PREFIX}/man
|
|
|
|
|
2008-07-09 16:40:23 -04:00
|
|
|
-INCS = -I. -I/usr/include -I/usr/local/include
|
2009-02-11 15:49:35 -05:00
|
|
|
-LIBS = -lc -lutil -lncursesw
|
|
|
|
-#LIBS = -lc -lutil -lncurses
|
2008-07-09 16:40:23 -04:00
|
|
|
+INCS = -I. -I/usr/include
|
2009-02-11 15:49:35 -05:00
|
|
|
+#LIBS = -lc -lutil -lncursesw
|
|
|
|
+LIBS = -lc -lutil -lncurses
|
2008-07-09 16:40:23 -04:00
|
|
|
|
|
|
|
-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
|
2009-01-29 20:33:00 -05:00
|
|
|
CFLAGS += -DCONFIG_MOUSE
|
|
|
|
@@ -20,4 +20,4 @@ CFLAGS += -DCONFIG_STATUSBAR
|
2008-07-09 16:40:23 -04:00
|
|
|
|
|
|
|
DEBUG_CFLAGS = ${CFLAGS} -UNDEBUG -O0 -g -ggdb -Wall
|
|
|
|
|
|
|
|
-CC = cc
|
|
|
|
+CC ?= cc
|