summaryrefslogtreecommitdiff
path: root/games/xfrisk/patches/patch-aa
blob: c45654f8aec3e395c77cb1e75f5a54c649fa72a2 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
$NetBSD: patch-aa,v 1.4 2007/11/20 18:44:14 rillig Exp $

--- Makefile.orig	2003-09-30 10:18:48.000000000 +0200
+++ Makefile	2003-09-30 10:20:04.000000000 +0200
@@ -55,9 +55,9 @@
 ####################
 # C compiler options
 # GNU gcc is recommended.
-CC=gcc
+#CC=gcc
 # Use these with gcc
-CFLAGS=-g -Wall -W -fno-common -pedantic
+#CFLAGS+= -Wall -W -fno-common -pedantic
 
 # If you don't have gcc, don't use -Wall -W -fno-common
 #CFLAGS=-g
@@ -77,25 +77,25 @@
 #CFLAGS+=-DTEST_GAME
 
 ## Initial linker options
-LDFLAGS=
+#LDFLAGS=
 
 ## Installation prefix
 # Adjust to taste. Stuff gets installed here.
-PREFIX=/usr/local
+#PREFIX=/usr/local
 #PREFIX=/usr/local/X11
 
 ## X11 location and options
 # for X11R6
 # Point this at your X tree.
-XDIR=/usr/X11R6
+XDIR=${X11BASE}
 #XDIR=/usr/local/X11
 #XDIR=/usr/openwin
 
 # try Xaw if you don't have Xaw3d
 #XAW=Xaw
-XAW=Xaw3d
+XAW=${LIBXAW}
 
-XLIBS=-L$(XDIR)/lib -l$(XAW) -lXext -lXmu -lXt -lSM -lICE -lX11
+XLIBS=-L$(XDIR)/lib $(XAW) -lXext -lXmu -lXt -lSM -lICE -lX11
 
 XINC=-I$(XDIR)/include
 CFLAGS+=$(XINC)
@@ -106,7 +106,6 @@
 # System V (Solaris, Irix, etc.) will probably want -lsocket -lnsl.
 #LIBS=-lsocket -lnsl
 # on other systems leave LIBS blank for now
-LIBS=
 
 # On some systems -DNARROWPROTO is needed for working Xaw scrollbars
 # This includes FreeBSD 3.x and recent Linux