summaryrefslogtreecommitdiff
path: root/emulators/spim/patches/patch-aa
blob: dff08d6eaf2058a8783c806801fc852f34c187c7 (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
39
$NetBSD: patch-aa,v 1.7 2011/02/05 13:38:15 ryoon Exp $

--- xspim/Imakefile.orig	2010-01-09 05:22:58.000000000 +0000
+++ xspim/Imakefile
@@ -43,13 +43,13 @@
 #
 
 # Full path for the directory that will hold the executable files:
-BIN_DIR = /usr/local/bin
+#BIN_DIR = /usr/local/bin
 
 # Full path for the directory that will hold the exception handler:
-EXCEPTION_DIR = /usr/local/lib/spim
+EXCEPTION_DIR = $(PREFIX)/share/spim
 
 # Full path for the directory that will hold the man files:
-MAN_DIR = /usr/local/man/en
+#MAN_DIR = /usr/local/man/en
 
 
 # If you have flex, use it instead of lex.  If you use flex, define this
@@ -122,7 +122,7 @@ force:  configuration
 configuration:
 	./Configure
 
-InstallProgram(xspim,$(BIN_DIR))
+InstallProgram(xspim,$(BINDIR))
 InstallNonExec($(CPU_DIR)/exceptions.s,$(EXCEPTION_DIR)/exceptions.s)
 #InstallManPage($(DOC_DIR)/xspim,$(MAN_DIR))
 
@@ -157,7 +157,7 @@ very-clean: clean
 	rm -f configuration
 
 makedepend: y.tab.c
-	makedepend -w10 -I. -I$(CPU_DIR) $(CPU_DIR)\*.c *.c
+	makedepend -w10 -I$(X11BASE)/include -I. -I$(CPU_DIR) $(CPU_DIR)\*.c *.c
 
 #
 # DO NOT DELETE THIS LINE -- make depend depends on it.