summaryrefslogtreecommitdiff
path: root/games/lincity/patches/patch-aa
blob: c78f99086637aaaa469e3a1ff649ee6883527bfb (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
$NetBSD: patch-aa,v 1.1 1998/08/15 13:45:47 frueauf Exp $

--- Makefile.orig	Mon Apr 14 11:13:47 1997
+++ Makefile	Fri Aug  7 05:38:58 1998
@@ -3,3 +3,3 @@
 #       This is where the binaries for LinCity will be placed.
-LC_BINDIR = /usr/local/bin
+LC_BINDIR = $(X11BASE)/bin
 #          for solaris you might choose...
@@ -8,3 +8,3 @@
 #       This is where the library/data files will be placed.
-LC_LIBDIR = /usr/local/lib/lincity
+LC_LIBDIR = $(X11BASE)/share/lincity
 #          for solaris you might choose...
@@ -15,3 +15,3 @@
 #       This is where the manpage will be placed.
-LC_MANDIR = /usr/local/man/man6
+LC_MANDIR = $(X11BASE)/man/man6
 LC_MANSUF = 6
@@ -31,4 +31,4 @@
 
-LC_XFLAGS = $(CFLAGS) -DLC_X11 
-LC_XLIBS = -lXExExt -lXext -lX11
+LC_XFLAGS = $(CFLAGS) -I$(X11BASE)/include -DLC_X11 
+LC_XLIBS = -Wl,-R$(X11BASE)/lib -L$(X11BASE)/lib -lXExExt -lXext -lX11
 
@@ -41,3 +41,3 @@
 # line if yours is somewhere else.
-LC_IMAKE_ARGS = -DUseInstalled -I/usr/X11R6/lib/X11/config
+LC_IMAKE_ARGS = -DUseInstalled -I$(X11BASE)/lib/X11/config