summaryrefslogtreecommitdiffstats
path: root/games/xbomber/files/patch-aa
blob: d4e650e209ae60b7126e514cf870f18e9b8d9225 (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
--- 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${LOCALBASE}/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${LOCALBASE}/lib -lX11 -lcompat
 
 # End of makefile user-definable variables-----------------------------------
 
OpenPOWER on IntegriCloud