summaryrefslogtreecommitdiff
path: root/textproc/ispell-base/patches/patch-ab
blob: 5c88ad602f16fc42df6ae721b9ecb888f341a5ce (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
$NetBSD: patch-ab,v 1.2 2002/02/18 15:14:43 seb Exp $

--- Makefile.orig	Thu Oct 12 20:04:06 1995
+++ Makefile
@@ -240,31 +240,15 @@
 	  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
 	@set +e; \
 	  . ./config.sh; \
 	  set $(SHELLDEBUG); \
-	  if [ -d $$ELISPDIR ]; then \
-	    set -ex; \
-	    rm -f $$ELISPDIR/ispell.el; \
-	    $$INSTALL ispell.el $$ELISPDIR; \
-	    if sh iwhich $$EMACS >/dev/null; then \
-		echo '(byte-compile-file "'"$$ELISPDIR/ispell.el"'")' \
-		  > /tmp/emi$$$$; \
-		$$EMACS -batch -l /tmp/emi$$$$; \
-		rm -f /tmp/emi$$$$; \
-		chmod 644 $$ELISPDIR/ispell.el $$ELISPDIR/ispell.elc; \
-	    else \
-		chmod 644 $$ELISPDIR/ispell.el; \
-	    fi; \
-	  else \
-	    : ; \
-	  fi
 
 install-dictbuild:
 	@. ./config.sh; \
@@ -323,8 +307,8 @@
 	  . ./config.sh; \
 	  set $(SHELLDEBUG); \
 	  if [ -d $$TEXINFODIR ]; then \
-	    if sh iwhich makeinfo >/dev/null \
-	      &&  makeinfo ispell.texinfo 2>/dev/null; then \
+	    if true >/dev/null \
+	      && $(MAKEINFO) --no-split --force ispell.texinfo 2>/dev/null; true; then \
 		:; \
 	    elif sh iwhich $$EMACS >/dev/null; then \
 		set -e; \
@@ -508,7 +492,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 +506,8 @@
 	  else \
 	    set -x; \
 	    rm -f msgs.h; ln $$msgs msgs.h  ||  cp $$msgs msgs.h; \
-	  fi
+	  fi; \
+	touch msgs.h
 
 FRC: