summaryrefslogtreecommitdiff
path: root/devel/autogen/patches/patch-aa
blob: 043df677a1396dba219b632814b8fe383586298f (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
$NetBSD: patch-aa,v 1.1 2006/03/09 20:45:20 kristerw Exp $

--- agen5/bootstrap.dir.orig	2006-03-09 20:25:30.000000000 +0100
+++ agen5/bootstrap.dir	2006-03-09 20:28:42.000000000 +0100
@@ -1,4 +1,4 @@
-#! /bin/bash
+#! /bin/sh
 #
 # ----------------------------------------------------------------------
 # agen5/bootstrap.dir --- maintainer's bootstrap script
@@ -27,7 +27,7 @@
 #  Otherwise, we are being invoked from "make".
 #
 case "${1}" in
-(recursive)
+recursive)
   top_srcdir=`cd ..;pwd`
   top_builddir=${top_srcdir}
   srcdir=`pwd`
@@ -43,12 +43,12 @@
   set -- $t
   ;;
 
-("")
+"")
   echo "Specify what you want bootstrapped"
   exit 1
   ;;
 
-(*)
+*)
   builddir=`pwd`
   top_srcdir=${top_srcdir-`cd ..;pwd`}
   top_builddir=${top_builddir-`cd ..;pwd`}
@@ -127,7 +127,7 @@
 do
   echo Re-building "$t"
   case "$t" in
-  ( stamp-parse    | \
+   stamp-parse    | \
     defParse-fsm.c | \
     defParse-fsm.h )
     # Make the definition parser
@@ -145,7 +145,7 @@
     date > stamp-parse
     ;;
 
-  (stamp-opts | opts.[ch])
+  stamp-opts | opts.[ch])
     # Make the option processing files:
     #
     if test -z "${AGexe}" -o -z "${CLexe}"
@@ -159,7 +159,7 @@
     date > stamp-opts
     ;;
 
-  (stamp-fsm)
+  stamp-fsm)
     # Make the pseudo-macro processing Finite State Machine
     #
     if [ -z "${AGexe}" ]
@@ -176,7 +176,7 @@
     date > stamp-fsm
     ;;
 
-  ( stamp-exprini | \
+   stamp-exprini | \
     expr.h   | \
     expr.def | \
     expr.ini )
@@ -210,7 +210,7 @@
     date > stamp-exprini
     ;;
 
-  (stamp-directive | \
+  stamp-directive | \
     directive.def  | \
     directive.h )
     if test -z "${AGexe}" -o -z "${CLexe}"
@@ -232,7 +232,7 @@
     date > stamp-directive
     ;;
 
-  (stamp-texi | autogen.texi | autogen.menu)
+  stamp-texi | autogen.texi | autogen.menu)
     # Construct the info doc
     #
     if test -z "${AGexe}" -o -z "${CLexe}"
@@ -246,7 +246,7 @@
     ${AGexe} ${eopt} ${srcdir}/opts.def
     ;;
 
-  (stamp-man | autogen.1)
+  stamp-man | autogen.1)
     # Construct the man page
     #
     if test -z "${AGexe}" -o -z "${CLexe}"
@@ -260,26 +260,26 @@
     ${AGexe} ${eopt} ${srcdir}/opts.def
     ;;
 
-  (fmemopen.3)
+  fmemopen.3)
     ${GDexe} templ=agman3.tpl linenum output=fmemopen.def fmemopen.c
     ${AGexe} -L ${top_srcdir}/autoopts fmemopen.def
     rm -f fmemopen.def
     ;;
 
-  (proto.h)
+  proto.h)
     files=`allbut *.c - *fsm.c` 2>/dev/null
     test -z "${files}" && files=`echo *.c`
     :mkfwd -p ${files}
     ;;
 
-  (functions.h)
+  functions.h)
     files=`fgrep -l '/*=macfunc' *.c`
     opts='template=functions.tpl srcfile linenum defs=macfunc listattr=alias'
     getdefs output=functions.def ${opts} ${files}
     autogen functions.def
     ;;
 
-  (*)
+  *)
     echo "Don't know how to make $t"
     exit 1
     ;;