From d057297ac8d52210bcedaa4bbaea9ff86d628761 Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Thu, 12 Oct 2006 12:44:45 +0000 Subject: [PATCH] disable a too extreme check for a good tr(1) to get this package building under Solaris --- hdf/hdf.patch | 19 +++++++++++++++++++ hdf/hdf.spec | 4 +++- 2 files changed, 22 insertions(+), 1 deletion(-) create mode 100644 hdf/hdf.patch diff --git a/hdf/hdf.patch b/hdf/hdf.patch new file mode 100644 index 0000000000..7de41f91b3 --- /dev/null +++ b/hdf/hdf.patch @@ -0,0 +1,19 @@ +Index: configure +--- configure.orig 2005-11-11 01:17:39.000000000 +0100 ++++ configure 2006-10-12 14:31:38.331363439 +0200 +@@ -1644,6 +1644,7 @@ + if test "X${TR}" = "X"; then + TR=tr + fi ++if false; then + TR_TEST="`echo Test | ${TR} 'a-z,' 'A-Z '`" + if test "X${TR_TEST}" != "XTEST"; then + { { echo "$as_me:$LINENO: error: tr program doesn't work" >&5 +@@ -1653,6 +1654,7 @@ + echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6 + fi ++fi + + echo "$as_me:$LINENO: checking if basename works" >&5 + echo $ECHO_N "checking if basename works... $ECHO_C" >&6 diff --git a/hdf/hdf.spec b/hdf/hdf.spec index 343789aafd..5561b248c6 100644 --- a/hdf/hdf.spec +++ b/hdf/hdf.spec @@ -37,10 +37,11 @@ Class: EVAL Group: Libraries License: Open Source Version: %{V_major}.%{V_minor} -Release: 20060924 +Release: 20061012 # list of sources Source0: ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/current/src/hdf%{V_major}-%{V_minor}.tar.gz +Patch0: hdf.patch # build information Prefix: %{l_prefix} @@ -71,6 +72,7 @@ AutoReqProv: no %prep %setup -q -n hdf%{V_major}-%{V_minor} + %patch -p0 %build CC="%{l_cc}" \