aboutsummaryrefslogtreecommitdiffstats
path: root/games/xjumpjump/files/patch-aa
blob: 6ec68f34409920f24e09c2c2a5da1dd382cc44ec (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
29
30
31
32
33
34
35
--- Makefile.orig   Wed Feb 26 15:21:57 1997
+++ Makefile    Thu Apr 23 21:50:56 1998
@@ -8,16 +8,16 @@
 # Flags that might be overriden by top makefile
 #=================================================================
 
-CC      = gcc
-CCFLAG  = -O2 -Wall -fno-strength-reduce
-LDFLAG  = -O
+#CC      = gcc
+#CCFLAG  = -O2 -Wall -fno-strength-reduce
+#LDFLAG  = -O
 SYSLIB  = -lX11 -lm
-XINCLUDE= -I/usr/X11R6/include
-XLIB    = -L/usr/X11R6/lib
+XINCLUDE= -I$(X11BASE)/include
+XLIB    = -L$(X11BASE)/lib
 
-INSTDIR = /usr/local
+INSTDIR = $(PREFIX)
 BINDIR  = $(INSTDIR)/bin
-INFODIR = $(INSTDIR)/lib/$(PROG)
+INFODIR = $(INSTDIR)/share/$(PROG)
 INSTALL = install
 
 INFODIR_DEFINE = -DINFO_TXT_FILE=\"$(INFODIR)/\"
@@ -28,7 +28,7 @@
 
 CFLAGS  = $(CCFLAG) $(XINCLUDE)
 LDFLAGS = $(LDFLAG) 
-LIBS    = -lforms $(SYSLIB) $(XLIB)
+LIBS    = -lxforms $(SYSLIB) $(XLIB)
 
 #=================================================================