aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1996-10-22 20:20:23 +0800
committermax <max@FreeBSD.org>1996-10-22 20:20:23 +0800
commit298c24e4abb69dd58b713b9f8734884ae1180cee (patch)
treef4ad273cf502f431bdb54efa35c9eba26fbf5bdf /japanese
parenta6375ad4fec1f23d597619a6fedd17f7394798ca (diff)
downloadfreebsd-ports-gnome-298c24e4abb69dd58b713b9f8734884ae1180cee.tar.gz
freebsd-ports-gnome-298c24e4abb69dd58b713b9f8734884ae1180cee.tar.zst
freebsd-ports-gnome-298c24e4abb69dd58b713b9f8734884ae1180cee.zip
Split the patch file. (Separate patch file for each file to be patched.)
Fixed the problem that elvis attempts to use /usr/preserve if /var/preserve doesn't exist. (Closing PR #1733.) Submitted by: sanpei@yy.cs.keio.ac.jp
Diffstat (limited to 'japanese')
-rw-r--r--japanese/elvis/files/patch-ab85
1 files changed, 85 insertions, 0 deletions
diff --git a/japanese/elvis/files/patch-ab b/japanese/elvis/files/patch-ab
new file mode 100644
index 000000000000..191f3bf5653b
--- /dev/null
+++ b/japanese/elvis/files/patch-ab
@@ -0,0 +1,85 @@
+--- Makefile.mix.orig Tue Oct 22 00:10:44 1996
++++ Makefile.mix Tue Oct 22 00:23:07 1996
+@@ -120,28 +120,29 @@
+
+ #---- These settings are recommended for BSD 4.3 UNIX and SunOS ----
+ #---- For BSD386, add "-DTERMIOS" to CFLAGS
+-#OBJ= .o
+-#EXE=
+-#COM=
+-#EXTRA= unix$(OBJ)
+-#EXTRA2=
+-#LIBS= -ltermcap
+-#BIN= /usr/local/bin
+-#CC= cc
+-#CFLAGS= -Dbsd -O
+-#SMALL=
+-#LARGE=
+-#OF= -o ""
+-#RF= -c
+-#PROGS= elvis$(EXE) ctags$(COM) ref$(COM) elvrec$(COM) elvprsv$(COM)
+-#CHMEM=
+-#SORT= -DSORT
+-#RM= rm -f
+-#CP= cp
+-#LN= ln
+-#SYS= unx
+-#DUMMY=
+-#CFG=
++OBJ= .o
++EXE=
++COM=
++EXTRA= unix$(OBJ)
++EXTRA2=
++PREFIX?=/usr/local
++LIBS= -ltermcap -L${PREFIX}/lib -lcanna
++BIN= ${PREFIX}/bin
++CC= cc
++CFLAGS+= -Dbsd -O -I${PREFIX}/include -D_HAVE_PARAM_H -DNO_EXITCODE -DHAVE_OFF_T -D__386BSD__
++SMALL=
++LARGE=
++OF= -o ""
++RF= -c
++PROGS= elvis$(EXE) ctags$(COM) ref$(COM) elvrec$(COM) elvprsv$(COM)
++CHMEM=
++SORT= -DSORT
++RM= rm -f
++CP= cp
++LN= ln -sf
++SYS= unx
++DUMMY=
++CFG=
+
+ #---- These settings are recommended for Coherent 4.0 ----
+ #OBJ=.o
+@@ -536,7 +537,7 @@
+ OBJS2= ex$(OBJ) input$(OBJ) main$(OBJ) misc$(OBJ) modify$(OBJ) move1$(OBJ)
+ OBJS3= move2$(OBJ) move3$(OBJ) move4$(OBJ) move5$(OBJ) opts$(OBJ) recycle$(OBJ)
+ OBJS4= redraw$(OBJ) regexp$(OBJ) regsub$(OBJ) system$(OBJ) tio$(OBJ) tmp$(OBJ)
+-OBJS5= vars$(OBJ) vcmd$(OBJ) vi$(OBJ) kanji$(OBJ) fepseq$(OBJ) # canna$(OBJ)
++OBJS5= vars$(OBJ) vcmd$(OBJ) vi$(OBJ) kanji$(OBJ) fepseq$(OBJ) canna$(OBJ)
+ OBJS= $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4) $(OBJS5)
+
+ ALIAS= alias$(OBJ)
+@@ -677,6 +678,7 @@
+
+ inst.unx: $(DUMMY)
+ $(CP) $(PROGS) $(BIN)
++ (cd $(BIN); strip $(PROGS))
+ (cd $(BIN); chmod 755 $(PROGS))
+ (cd $(BIN); chown bin $(PROGS))
+ (cd $(BIN); chown root elvprsv$(COM) elvrec$(COM))
+@@ -685,12 +687,9 @@
+ -$(LN) $(BIN)/elvis $(BIN)/ex
+ -$(LN) $(BIN)/elvis $(BIN)/view
+ -$(LN) $(BIN)/elvis $(BIN)/input
+- test -d /usr/preserve || (mkdir /usr/preserve; chmod 755 /usr/preserve)
++ test -d /var/preserve || (mkdir /var/preserve; chmod 755 /var/preserve)
+ @if test -d /etc/rc2.d; then \
+ echo $(BIN)/elvprsv /tmp/elv* >/etc/rc2.d/S03elvis; \
+- else \
+- echo "::: YOU STILL NEED TO EDIT THE /ETC/RC FILE, OR WHATEVER,"; \
+- echo "::: TO HAVE TEMP FILES BE PRESERVED AFTER A SYSTEM CRASH."; \
+ fi
+ sh instman.sh $(PROGS)
+