summaryrefslogtreecommitdiff
path: root/wm/pwm/patches/patch-ag
blob: 5bec063fb62da0d5225865939e5f9a9bcfbaf6e3 (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
36
37
38
39
40
41
42
$NetBSD: patch-ag,v 1.3 2002/08/25 21:51:36 jlam Exp $

--- system.mk.orig	Sat Jul  1 12:37:50 2000
+++ system.mk
@@ -7,7 +7,7 @@
 ## Installation directory prefix
 ##
 
-PREFIX=/usr/local
+#PREFIX=/usr/local
 
 #EXTRA_INCLUDES = -I$(PREFIX)/include
 #EXTRA_LIBS = -L$(PREFIX)/lib
@@ -17,7 +17,7 @@
 ## X libraries, includes and options
 ##
 
-X11_PREFIX=/usr/X11R6
+X11_PREFIX=${X11BASE}
 
 # SunOS/Solaris
 #X11_PREFIX=/usr/openwin
@@ -31,7 +31,7 @@
 ## C compiler
 ##
 
-CC=gcc
+#CC=gcc
 
 # The POSIX_SOURCE, XOPEN_SOURCE and WARN options should not be necessary,
 # they're mainly for development use. So, if they cause trouble (not
@@ -57,8 +57,8 @@
 	-Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized \
 	-Wparentheses -pedantic-errors
 
-CFLAGS=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
-LDFLAGS=-g $(LIBS) $(EXTRA_LIBS)
+CFLAGS+=-g -O2 $(WARN) $(DEFINES) $(INCLUDES) $(EXTRA_INCLUDES)
+LDFLAGS+=$(LIBS)
 
 
 ##