Date: Sunday, March 26, 2023 @ 20:03:40
Author: arojas
Revision: 1429302
upgpkg: hdf5-openmpi 1.14.0-2: Fix bogus include path (FS#78003)
Modified:
hdf5-openmpi/trunk/PKGBUILD
----------+
PKGBUILD | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2023-03-26 18:40:35 UTC (rev 1429301)
+++ PKGBUILD 2023-03-26 20:03:40 UTC (rev 1429302)
@@ -10,7 +10,7 @@
_mpi=openmpi
pkgname=${_pkgname}-${_mpi}
pkgver=1.14.0
-pkgrel=1
+pkgrel=2
pkgdesc="General purpose library and file format for storing scientific data
(${_mpi} version)"
arch=(x86_64)
url="https://www.hdfgroup.org/hdf5"
@@ -100,4 +100,6 @@
install -Dm644 COPYING -t "${pkgdir}"/usr/share/licenses/${_pkgname}
# Install pkg-config files from CMake tree
install -Dm644 ../build/CMakeFiles/hdf5{,_hl}{,_cpp,_fortran}.pc -t
"${pkgdir}"/usr/lib/pkgconfig/
+ # Fix bogus include path
+ sed -e 's|-I/build/hdf5/src/hdf5-1.14.0/src/H5FDsubfiling||g' -i
"${pkgdir}"/usr/lib/libhdf5.settings -i "${pkgdir}"/usr/bin/*
}