Files
pkgsrc-ng/emulators/spim/patches/patch-aa
2013-09-26 17:14:40 +02:00

40 lines
1.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
$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.