diff options
author | dmcmahill <dmcmahill> | 2005-08-17 02:45:48 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2005-08-17 02:45:48 +0000 |
commit | 868ff0e693409be0f25a4fa374ad27f9633f3d97 (patch) | |
tree | 6ece95fad5bff6aaf9d69b8acbff6f81d96b0cba | |
parent | 61c4a2c1c662880632f4e0b77f3cd584c60827c2 (diff) | |
download | pkgsrc-868ff0e693409be0f25a4fa374ad27f9633f3d97.tar.gz |
change
tr '[a-z],' [A-Z] '
to
tr [a-z], [A-Z]\
to help the tr on solaris.
-rw-r--r-- | devel/hdf5/distinfo | 6 | ||||
-rw-r--r-- | devel/hdf5/patches/patch-ab | 12 | ||||
-rw-r--r-- | devel/hdf5/patches/patch-ac | 12 |
3 files changed, 15 insertions, 15 deletions
diff --git a/devel/hdf5/distinfo b/devel/hdf5/distinfo index f8e5ac358c9..0fe4ac71126 100644 --- a/devel/hdf5/distinfo +++ b/devel/hdf5/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.13 2005/08/16 22:02:10 dmcmahill Exp $ +$NetBSD: distinfo,v 1.14 2005/08/17 02:45:48 dmcmahill Exp $ SHA1 (hdf5-1.6.4.tar.gz) = e419e81097b8093d16d96708b764bd85db053e86 RMD160 (hdf5-1.6.4.tar.gz) = 8175af3153bb0a5a1278c01af2d3940f4fd5084f Size (hdf5-1.6.4.tar.gz) = 4862437 bytes SHA1 (patch-aa) = 187f8f866e0ba43cc704995f782828b35eebbbe5 -SHA1 (patch-ab) = 25b377a1e657139a4665f52f789ca460a96101a5 -SHA1 (patch-ac) = ff7e56e5be4c550215db8488e439f40305ba815c +SHA1 (patch-ab) = 49b04f85265e4c4c8625e4dd94885a8e1036870e +SHA1 (patch-ac) = abaa81033c039c2ba3d8793cc162ae384feecf76 diff --git a/devel/hdf5/patches/patch-ab b/devel/hdf5/patches/patch-ab index cd68cc3eb8a..1413bbb0547 100644 --- a/devel/hdf5/patches/patch-ab +++ b/devel/hdf5/patches/patch-ab @@ -1,4 +1,4 @@ -$NetBSD: patch-ab,v 1.3 2005/08/16 22:02:10 dmcmahill Exp $ +$NetBSD: patch-ab,v 1.4 2005/08/17 02:45:49 dmcmahill Exp $ --- configure.in.orig 2005-03-15 21:36:03.000000000 -0500 +++ configure.in @@ -10,7 +10,7 @@ $NetBSD: patch-ab,v 1.3 2005/08/16 22:02:10 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.3 2005/08/16 22:02:10 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.3 2005/08/16 22:02:10 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.3 2005/08/16 22:02:10 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.3 2005/08/16 22:02:10 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... diff --git a/devel/hdf5/patches/patch-ac b/devel/hdf5/patches/patch-ac index 9c0eeaa55a2..03c6edc6752 100644 --- a/devel/hdf5/patches/patch-ac +++ b/devel/hdf5/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.3 2005/08/16 22:02:10 dmcmahill Exp $ +$NetBSD: patch-ac,v 1.4 2005/08/17 02:45:49 dmcmahill Exp $ --- configure.orig 2005-03-15 21:38:09.000000000 -0500 +++ configure @@ -59,7 +59,7 @@ $NetBSD: patch-ac,v 1.3 2005/08/16 22:02:10 dmcmahill Exp $ + +echo "$as_me:$LINENO: checking if ${TR} works" >&5 +echo $ECHO_N "checking if ${TR} works... $ECHO_C" >&6 -+TR_TEST="`echo Test | ${TR} 'a-z,' 'A-Z '`" ++TR_TEST="`echo Test | ${TR} a-z, A-Z\ `" if test $TR_TEST != "TEST"; then { { echo "$as_me:$LINENO: error: tr program doesn't work" >&5 echo "$as_me: error: tr program doesn't work" >&2;} @@ -149,7 +149,7 @@ $NetBSD: patch-ac,v 1.3 2005/08/16 22:02:10 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 @@ -158,7 +158,7 @@ $NetBSD: patch-ac,v 1.3 2005/08/16 22:02:10 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 @@ -167,7 +167,7 @@ $NetBSD: patch-ac,v 1.3 2005/08/16 22:02:10 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 @@ -176,7 +176,7 @@ $NetBSD: patch-ac,v 1.3 2005/08/16 22:02:10 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 if test $filter = "SHUFFLE"; then cat >>confdefs.h <<\_ACEOF |