7e2f9b0075
This version is case sensitive. For old functionality, use '-i' (from Tobias) From Tobias (MAINTAINER) ok jasper@
38 lines
945 B
Plaintext
38 lines
945 B
Plaintext
$OpenBSD: patch-config_mk,v 1.4 2008/04/08 18:04:10 merdely Exp $
|
|
--- config.mk.orig Thu Apr 3 22:56:07 2008
|
|
+++ config.mk Mon Apr 7 23:51:43 2008
|
|
@@ -4,19 +4,19 @@ VERSION = 3.6
|
|
# Customize below to fit your system
|
|
|
|
# paths
|
|
-PREFIX = /usr/local
|
|
-MANPREFIX = ${PREFIX}/share/man
|
|
+#PREFIX = /usr/local
|
|
+MANPREFIX = ${PREFIX}/man
|
|
|
|
-X11INC = /usr/X11R6/include
|
|
-X11LIB = /usr/X11R6/lib
|
|
+X11INC = ${X11BASE}/include
|
|
+X11LIB = ${X11BASE}/lib
|
|
|
|
# includes and libs
|
|
-INCS = -I. -I/usr/include -I${X11INC}
|
|
-LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
|
|
+INCS = -I${X11INC}
|
|
+LIBS = -L${X11LIB} -lX11
|
|
|
|
# flags
|
|
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
|
|
-LDFLAGS = -s ${LIBS}
|
|
+CFLAGS+= ${INCS} -DVERSION=\"${VERSION}\"
|
|
+LDFLAGS = ${LIBS}
|
|
#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
|
|
#LDFLAGS = -g ${LIBS}
|
|
|
|
@@ -26,4 +26,4 @@ LDFLAGS = -s ${LIBS}
|
|
#CFLAGS += -xtarget=ultra
|
|
|
|
# compiler and linker
|
|
-CC = cc
|
|
+#CC = cc
|