summaryrefslogtreecommitdiff
path: root/games/xbomber/files/patch-aa
blob: f2dcd11cb46dcc52f6a0ed7e87ef704b3288f5ee (plain) (blame)
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
--- makefile.orig	Fri Jun 19 12:28:34 1998
+++ makefile	Sat Aug 12 02:54:15 2000
@@ -11,21 +11,21 @@
 
 # Makefile user-definable variables------------------------------------------
 
-CC=gcc
+CC?=gcc
 MATHLIB=-lm
-CFLAGS=-I/usr/X11/include
+CFLAGS+=-I${X11BASE}/include -DDATADIR=\"${PREFIX}/share/xbomber\"
 
 # Change this to "touch" if your system doesn't have the "strip" command:
 POSTPROCESS=strip
 
 # adjust according to target
-XLIB=-L/usr/X11/lib -lX11
+#XLIB=-L/usr/X11/lib -lX11
 
 # uncomment for sunos/solaris
 #XLIB=-L/usr/openwin/lib -lX11
 
 # uncomment for FreeBSD
-#XLIB=-L /usr/X11R6/lib -lX11 -lcompat
+XLIB=-L${X11BASE}/lib -lX11 -lcompat
 
 # End of makefile user-definable variables-----------------------------------