summaryrefslogtreecommitdiff
path: root/games/xfrisk/patches/patch-aa
blob: fd8226bf420e7bec4654f381ffdfc2e9f4a35559 (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
$NetBSD: patch-aa,v 1.2 2002/02/28 17:23:14 wiz Exp $

--- Makefile.orig	Sun Feb 24 21:34:38 2002
+++ Makefile	Sun Feb 24 22:01:06 2002
@@ -77,11 +77,11 @@
 #CFLAGS+=-DTEST_GAME
 
 ## Initial linker options
-LDFLAGS=
+LDFLAGS=-Wl,-R/usr/X11R6/lib
 
 ## Installation prefix
 # Adjust to taste. Stuff gets installed here.
-PREFIX=/usr/local
+#PREFIX=${X11BASE}
 #PREFIX=/usr/local/X11
 
 ## X11 location and options
@@ -92,8 +92,8 @@
 #XDIR=/usr/openwin
 
 # try Xaw if you don't have Xaw3d
-#XAW=Xaw
-XAW=Xaw3d
+XAW=Xaw
+#XAW=Xaw3d
 
 XLIBS=-L$(XDIR)/lib -l$(XAW) -lXext -lXmu -lXt -lSM -lICE -lX11
 
@@ -106,7 +106,7 @@
 # System V (Solaris, Irix, etc.) will probably want -lsocket -lnsl.
 #LIBS=-lsocket -lnsl
 # on other systems leave LIBS blank for now
-LIBS=
+#LIBS=
 
 # On some systems -DNARROWPROTO is needed for working Xaw scrollbars
 # This includes FreeBSD 3.x and recent Linux