summaryrefslogtreecommitdiff
path: root/textproc/ispell/patches/patch-ab
blob: 9d61ade96f5fe433dec4cf38d6892ec38dd0a195 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
$NetBSD: patch-ab,v 1.5 1999/08/16 15:52:58 fredb Exp $

--- Makefile.orig	Thu Oct 12 15:04:06 1995
+++ Makefile	Fri Mar  5 21:28:05 1999
@@ -240,9 +240,9 @@
 	  set $(SHELLDEBUG); \
 	  if [ -d $$TEXINFODIR -a -r ispell.info ]; then \
 	    set -ex; \
-	    rm -f $$TEXINFODIR/ispell; \
-	    $$INSTALL ispell.info $$TEXINFODIR/ispell; \
-	    chmod 644 $$TEXINFODIR/ispell; \
+	    rm -f $$TEXINFODIR/ispell.info; \
+	    $$INSTALL ispell.info $$TEXINFODIR/ispell.info; \
+	    chmod 644 $$TEXINFODIR/ispell.info; \
 	  else \
 	    : ; \
 	  fi
@@ -253,7 +253,7 @@
 	    set -ex; \
 	    rm -f $$ELISPDIR/ispell.el; \
 	    $$INSTALL ispell.el $$ELISPDIR; \
-	    if sh iwhich $$EMACS >/dev/null; then \
+	    if sh iwhich ___XXX___$$EMACS >/dev/null; then \
 		echo '(byte-compile-file "'"$$ELISPDIR/ispell.el"'")' \
 		  > /tmp/emi$$$$; \
 		$$EMACS -batch -l /tmp/emi$$$$; \
@@ -324,7 +324,7 @@
 	  set $(SHELLDEBUG); \
 	  if [ -d $$TEXINFODIR ]; then \
 	    if sh iwhich makeinfo >/dev/null \
-	      &&  makeinfo ispell.texinfo 2>/dev/null; then \
+	      && makeinfo --no-split --force ispell.texinfo 2>/dev/null; true; then \
 		:; \
 	    elif sh iwhich $$EMACS >/dev/null; then \
 		set -e; \
@@ -508,7 +508,7 @@
 local.h:
 	set +e; [ -r local.h ]  ||  cp local.h.samp local.h
 
-msgs.h:	config.sh FRC
+msgs.h:	config.sh 
 	@. ./config.sh; \
 	  set $(SHELLDEBUG); \
 	  set +e; \
@@ -522,7 +522,8 @@
 	  else \
 	    set -x; \
 	    rm -f msgs.h; ln $$msgs msgs.h  ||  cp $$msgs msgs.h; \
-	  fi
+	  fi; \
+	touch msgs.h
 
 FRC: