Browse Source

disable a too extreme check for a good tr(1) to get this package building under Solaris

master
parent
commit
d057297ac8
  1. 19
      hdf/hdf.patch
  2. 4
      hdf/hdf.spec

19
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

4
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}" \

Loading…
Cancel
Save