b9c33e29db
ok jim@ (maintainer)
34 lines
869 B
Plaintext
34 lines
869 B
Plaintext
$OpenBSD: patch-config_mk,v 1.9 2011/09/20 20:34:52 gsoares Exp $
|
|
--- config.mk.orig Mon Sep 19 06:48:13 2011
|
|
+++ config.mk Tue Sep 20 11:00:07 2011
|
|
@@ -2,11 +2,11 @@
|
|
VERSION = 4.4.1
|
|
|
|
# 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
|
|
|
|
# Xinerama, comment if you don't want it
|
|
XINERAMALIBS = -lXinerama
|
|
@@ -17,9 +17,9 @@ INCS = -I${X11INC}
|
|
LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS}
|
|
|
|
# flags
|
|
-CPPFLAGS = -D_BSD_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
|
-CFLAGS = -ansi -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
|
|
-LDFLAGS = -s ${LIBS}
|
|
+CPPFLAGS += -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
|
|
+CFLAGS += ${INCS} ${CPPFLAGS}
|
|
+LDFLAGS += ${LIBS}
|
|
|
|
# compiler and linker
|
|
-CC = cc
|
|
+CC ?= cc
|