$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.