summaryrefslogtreecommitdiff
path: root/games/xroads/patches/patch-aa
blob: c8df35881320d59080aaa5c1246bd6c38148b93f (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
$NetBSD: patch-aa,v 1.1.1.1 1999/07/01 02:35:12 hubertf Exp $

--- Makefile.orig	Thu Jul  1 04:13:17 1999
+++ Makefile	Thu Jul  1 04:22:45 1999
@@ -5,8 +5,8 @@
 # it's data, and BINPATH is where it puts the executable
 ###########################################################################
 
-DATAPATH = /usr/games/xroads/
-BINPATH = /usr/X11R6/bin/
+DATAPATH = ${PREFIX}/share/xroads/
+BINPATH = ${PREFIX}/bin/
 # I imagine you would use this BINPATH for Solaris:
 #BINPATH = /usr/openwin/bin/
 
@@ -15,7 +15,7 @@
 # optimizations. Check the manual for your compiler.
 ###########################################################################
 
-CFLAGS = -fomit-frame-pointer -O2 -Wall -DXRMPATH=\"$(DATAPATH)\"
+CFLAGS = -O2 -Wall -DXRMPATH=\"$(DATAPATH)\" -I${X11BASE}/include -I${X11BASE}/include/X11
 #CFLAGS = -O6 -mpentium -g -Wall -DXRMPATH=\"$(DATAPATH)\"
 
 ###########################################################################
@@ -33,7 +33,7 @@
 ###########################################################################
 
 ### Linux machines use this line:
-LINK = -L/usr/X11R6/lib -I/usr/X11R6/include -lX11 -lm
+LINK = -L${X11BASE}/lib -I${X11BASE}/include -lX11 -lm
 
 ### I'm told this line works fine on Solaris 2.5.1 with X11R5:
 #LINK = -L/usr/openwin/lib -I/usr/openwin/include -lX11 -lm