hdf5/hdf5-1.8.11-abort_unknown_host_config.patch
Christian Goll f5645d586f Accepting request 726430 from home:anag:branches:science
- Update to version 1.10.5:
  * https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.5/src/hdf5-1.10.5-RELEASE.txt
- Bump fortran library soname, sonum_F from 100 to 102.
- Adjust library installation path, use %hpc_prefix/lib64 in x86_64 
  and %hpc_libdir in all other cases
- Patches refreshed:
  * hdf5-LD_LIBRARY_PATH.patch
  * hdf5-1.8.11-abort_unknown_host_config.patch
  * PPC64LE-Fix-long-double-handling.patch
  * hdf5-Remove-timestamps-from-binaries.patch
  * Disable-phdf5-tests.patch
- Patch disabled, upstream have changed the file that was being patched,
  while it could be ported, it's unknown if this patch is still needed.
  * hdf5-mpi.patch
- Patch removed, merged upstream
  * 0001-Fix-return-value-in-test_libver_bounds_open.patch

OBS-URL: https://build.opensuse.org/request/show/726430
OBS-URL: https://build.opensuse.org/package/show/science/hdf5?expand=0&rev=111
2019-09-03 07:57:43 +00:00

27 lines
778 B
Diff

Index: configure
===================================================================
--- configure.orig
+++ configure
@@ -4097,6 +4097,8 @@ done
if test "X$host_config" != "Xnone"; then
CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`"
. $host_config
+else
+ as_fn_error $? "no usable host config found" "$LINENO" 5
fi
## Source any special site-specific file
Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -263,6 +263,8 @@ done
if test "X$host_config" != "Xnone"; then
CC_BASENAME="`echo $CC | cut -f1 -d' ' | xargs basename 2>/dev/null`"
. $host_config
+else
+ AC_MSG_ERROR([no usable host config found])
fi
## Source any special site-specific file