diff -r -u -wiBbd ex-orig/Makefile ex-050325/Makefile --- ex-orig/Makefile 2005-03-24 18:50:09.000000000 -0500 +++ ex-050325/Makefile 2008-11-13 16:52:45.000000000 -0500 @@ -75,15 +75,19 @@ # @(#)Makefile 1.50 (gritter) 2/20/05 # +CC=mipsel-linux-gcc +AR=mipsel-linux-ar +RANLIB=mipsel-linux-ranlib + # # Destinations for installation. $(PRESERVEDIR) is used for recovery files. # It will get mode 1777. # -PREFIX = /usr/local +PREFIX = /mnt BINDIR = $(PREFIX)/bin LIBEXECDIR = $(PREFIX)/libexec MANDIR = $(PREFIX)/share/man -PRESERVEDIR = /var/preserve +PRESERVEDIR = $(PREFIX)/var/preserve # # DESTDIR is prepended to the installation paths. It is mostly useful @@ -94,7 +98,7 @@ # # A BSD-like install program. GNU install will fit well here, too. # -INSTALL = /usr/ucb/install +INSTALL = /usr/bin/install # # Compiler and linker flags. @@ -102,9 +106,9 @@ # On HP-UX, add -D_INCLUDE__STDC_A1_SOURCE to CPPFLAGS. # #CFLAGS = -#CPPFLAGS = +CPPFLAGS= -I. -I.. -I/mnt/nasoc/src/include -I/mnt/include -I/opt/nasoc/src/linux/linux/include #LDFLAGS = -#LDADD = +LDADD = -L/mnt/lib # # All of the following settings are quite recommended, so you should only @@ -235,7 +239,7 @@ #WARN = -Wall -Wno-parentheses -Werror -STRIP = -s +STRIP = RECOVER = -DEXRECOVER=\"$(LIBEXECDIR)/exrecover\" \ -DEXPRESERVE=\"$(LIBEXECDIR)/expreserve\" CCFLAGS = $(CFLAGS) $(WARN) $(CPPFLAGS) $(FEATURES) $(CHARSET) $(OSTYPE) \ diff -r -u -wiBbd ex-orig/libterm/termcap.c ex-050325/libterm/termcap.c --- ex-orig/libterm/termcap.c 2004-11-23 12:20:52.000000000 -0500 +++ ex-050325/libterm/termcap.c 2008-11-13 16:53:35.000000000 -0500 @@ -51,7 +51,7 @@ #else #include "libterm.h" #endif -#define E_TERMCAP "/etc/termcap" +#define E_TERMCAP "/mnt/etc/termcap" #define MAXHOP 32 /* max number of tc= indirections */ #include