f881b7a1fa
tweaks/OK sthen@ jim@(MAINTAINER)
34 lines
867 B
Plaintext
34 lines
867 B
Plaintext
$OpenBSD: patch-config_mk,v 1.8 2011/08/18 14:13:28 gsoares Exp $
|
|
--- config.mk.orig Tue Jul 19 17:31:28 2011
|
|
+++ config.mk Tue Jul 26 10:00:34 2011
|
|
@@ -2,11 +2,11 @@
|
|
VERSION = 4.4
|
|
|
|
# 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
|