summaryrefslogtreecommitdiff
path: root/devel/autoconf213/files
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2001-05-31 22:14:42 +0000
committerAde Lovett <ade@FreeBSD.org>2001-05-31 22:14:42 +0000
commitd0db855ae03644a32313825afc166157e2b9c400 (patch)
tree43de479826bb3edc3438ff094f6910b0bfcdb74e /devel/autoconf213/files
parentUpdate to 1.2.2rc2 (diff)
Finally nail the nasty autoconf habit of leaving ${TMPDIR}/acin.*
turds lying around in certain circumstances.
Notes
Notes: svn path=/head/; revision=43363
Diffstat (limited to 'devel/autoconf213/files')
-rw-r--r--devel/autoconf213/files/patch-ad27
1 files changed, 16 insertions, 11 deletions
diff --git a/devel/autoconf213/files/patch-ad b/devel/autoconf213/files/patch-ad
index 4d5742be10e5..20401d060f61 100644
--- a/devel/autoconf213/files/patch-ad
+++ b/devel/autoconf213/files/patch-ad
@@ -1,21 +1,26 @@
--- autoconf.sh.orig Tue Jan 5 07:27:53 1999
-+++ autoconf.sh Wed Feb 16 11:17:50 2000
-@@ -45,7 +45,6 @@
- esac
-
++++ autoconf.sh Thu May 31 15:56:39 2001
+@@ -47,3 +47,2 @@
: ${TMPDIR=/tmp}
-tmpout=${TMPDIR}/acout.$$
localdir=
- show_version=no
-
-@@ -97,7 +96,9 @@
+@@ -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.
-+tmpout=`mktemp ${TMPDIR}/acout.XXXXXXXXXX` || exit 1
-+tmpin=`mktemp ${TMPDIR}/acin.XXXXXXXXXX` || { rm -f $tmpout; exit 1; }
+# Always set this, to avoid bogus errors from some rm's.
if test z$infile = z-; then
- infile=$tmpin
- cat > $infile
+@@ -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
+