summaryrefslogtreecommitdiff
path: root/devel/autoconf213/files/patch-autoconf.sh
diff options
context:
space:
mode:
authorAlan Eldridge <alane@FreeBSD.org>2002-10-12 23:27:58 +0000
committerAlan Eldridge <alane@FreeBSD.org>2002-10-12 23:27:58 +0000
commitaf98f686b0a39f37e6918c942cb82ad7eb586ac7 (patch)
tree7603b4eebdce6bff64627a9fd6af2a0ffd41a0da /devel/autoconf213/files/patch-autoconf.sh
parentUpdate to 0.12. (diff)
Renamed patch files so I can tell what they do.
Changed $(INSTALL) to $(INSTALL_SCRIPT) in Makefile.in for the scripts.
Notes
Notes: svn path=/head/; revision=67914
Diffstat (limited to 'devel/autoconf213/files/patch-autoconf.sh')
-rw-r--r--devel/autoconf213/files/patch-autoconf.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/devel/autoconf213/files/patch-autoconf.sh b/devel/autoconf213/files/patch-autoconf.sh
new file mode 100644
index 000000000000..20401d060f61
--- /dev/null
+++ b/devel/autoconf213/files/patch-autoconf.sh
@@ -0,0 +1,26 @@
+--- autoconf.sh.orig Tue Jan 5 07:27:53 1999
++++ autoconf.sh Thu May 31 15:56:39 2001
+@@ -47,3 +47,2 @@
+ : ${TMPDIR=/tmp}
+-tmpout=${TMPDIR}/acout.$$
+ localdir=
+@@ -97,5 +96,8 @@
+
++tmpout=`mktemp ${TMPDIR}/acout.XXXXXXXXXX` || exit 1
++tmpin=`mktemp ${TMPDIR}/acin.XXXXXXXXXX` || { rm -f $tmpout; exit 1; }
++
+ trap 'rm -f $tmpin $tmpout; exit 1' 1 2 15
+
+-tmpin=${TMPDIR}/acin.$$ # Always set this, to avoid bogus errors from some rm's.
++# Always set this, to avoid bogus errors from some rm's.
+ if test z$infile = z-; then
+@@ -120,3 +122,3 @@
+ *traditional*) ;;
+-*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin; exit 1 ;;
++*) echo Autoconf requires GNU m4 1.1 or later >&2; rm -f $tmpin $tmpout; exit 1 ;;
+ esac
+@@ -156,3 +158,3 @@
+
+-rm -f $tmpout
++rm -f $tmpin $tmpout
+