summaryrefslogtreecommitdiff
path: root/wm/wmii/patches/patch-aa
blob: 9f201b57e53f2f42e36c59bf730d810251af47a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
$NetBSD: patch-aa,v 1.5 2007/01/15 11:39:10 ghen Exp $

--- config.mk.orig	2006-06-17 13:44:29.000000000 +0200
+++ config.mk
@@ -1,22 +1,21 @@
 # Customize to fit your system
 
 # paths
-PREFIX = /usr/local
-CONFPREFIX = ${PREFIX}/etc
-MANPREFIX = ${PREFIX}/share/man
+#PREFIX = /usr/local
+CONFPREFIX = ${PREFIX}/share/examples
+MANPREFIX = ${PREFIX}/${PKGMANDIR}
 
-X11INC = /usr/X11R6/include
-X11LIB = /usr/X11R6/lib
+X11INC = ${X11BASE}/include
+X11LIB = ${X11BASE}/lib
 
 VERSION = 3.1
 
 # includes and libs
-LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
+LIBS = -lc -lX11
 
 # Linux/BSD
-CFLAGS = -O3 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
-	-DVERSION=\"${VERSION}\"
-LDFLAGS = ${LIBS}
+CFLAGS += -DVERSION=\"${VERSION}\"
+LDFLAGS += ${LIBS}
 
 # Solaris
 #CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\"