summaryrefslogtreecommitdiff
path: root/devel/hdf5/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hdf5/patches/patch-ab')
-rw-r--r--devel/hdf5/patches/patch-ab12
1 files changed, 6 insertions, 6 deletions
diff --git a/devel/hdf5/patches/patch-ab b/devel/hdf5/patches/patch-ab
index 1413bbb0547..30b27baf17c 100644
--- a/devel/hdf5/patches/patch-ab
+++ b/devel/hdf5/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.4 2005/08/17 02:45:49 dmcmahill Exp $
+$NetBSD: patch-ab,v 1.5 2005/08/30 01:31:21 dmcmahill Exp $
--- configure.in.orig 2005-03-15 21:36:03.000000000 -0500
+++ configure.in
@@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.4 2005/08/17 02:45:49 dmcmahill Exp $
-TR_TEST="`echo Test | tr 'a-z,' 'A-Z '`"
+AC_PATH_PROG(TR, tr)
+AC_MSG_CHECKING([if ${TR} works])
-+TR_TEST="`echo Test | ${TR} a-z, A-Z\ `"
++TR_TEST="`echo Test | ${TR} [a-z], [A-Z]\ `"
if test $TR_TEST != "TEST"; then
AC_MSG_ERROR([tr program doesn't work])
else
@@ -27,7 +27,7 @@ $NetBSD: patch-ab,v 1.4 2005/08/17 02:45:49 dmcmahill Exp $
if test -n "$DEBUG_PKG"; then
- for pkg in `echo $DEBUG_PKG | tr 'a-z,' 'A-Z '`; do
-+ for pkg in `echo $DEBUG_PKG | ${TR} a-z, A-Z\ `; do
++ for pkg in `echo $DEBUG_PKG | ${TR} "[a-z]," "[A-Z] "`; do
CPPFLAGS="$CPPFLAGS -DH5${pkg}_DEBUG"
done
fi
@@ -36,7 +36,7 @@ $NetBSD: patch-ab,v 1.4 2005/08/17 02:45:49 dmcmahill Exp $
path="`echo $cmd | sed 's/\(.*\)\/.*$/\1/'`"
else
- for path in `echo $PATH | tr : ' '`; do
-+ for path in `echo $PATH | ${TR} : \ `; do
++ for path in `echo $PATH | ${TR} ":" " "`; do
if test -x $path/$cmd; then
break
fi
@@ -45,7 +45,7 @@ $NetBSD: patch-ab,v 1.4 2005/08/17 02:45:49 dmcmahill Exp $
path="`echo $cmd | sed 's/\(.*\)\/.*$/\1/'`"
else
- for path in `echo $PATH | tr : ' '`; do
-+ for path in `echo $PATH | ${TR} : \ `; do
++ for path in `echo $PATH | ${TR} ":" " "`; do
if test -x $path/$cmd; then
break
fi
@@ -54,7 +54,7 @@ $NetBSD: patch-ab,v 1.4 2005/08/17 02:45:49 dmcmahill Exp $
if test -n "$FILTERS"; then
- for filter in `echo $FILTERS | tr 'a-z,' 'A-Z '`; do
-+ for filter in `echo $FILTERS | ${TR} a-z, A-Z\ `; do
++ for filter in `echo $FILTERS | ${TR} "[a-z]," "[A-Z] "`; do
dnl ------------------------------------------------------------------
dnl Have to use separate 'if' construct for each filter, so that
dnl autoheader can detect the AC_DEFINE for each one...