blob: b8943876709648c2508b8b4e73ee7bae03f88612 (
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.2 2001/09/09 03:10:08 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=${BUILDLINK_X11_DIR}
# 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)
##
|