summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-12 07:51:57 +0100
committerSam James <sam@gentoo.org>2021-10-12 07:52:24 +0100
commit225b7ee7e532e58f541e30fbb95d4b193b50236f (patch)
tree7d0df614ff35f9b6db5ecfe9cea7773d5abe87c8 /sci-libs
parentdev-java/commons-compress: bump to 1.21 (diff)
downloadgentoo-225b7ee7e532e58f541e30fbb95d4b193b50236f.tar.gz
gentoo-225b7ee7e532e58f541e30fbb95d4b193b50236f.tar.bz2
gentoo-225b7ee7e532e58f541e30fbb95d4b193b50236f.zip
sci-libs/hdf5: workaround build failure with older hdf5 installed
Thanks to upstream for the helpful suggestion! Bug: https://github.com/HDFGroup/hdf5/issues/1027 Closes: https://bugs.gentoo.org/808633 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/hdf5/hdf5-1.12.1-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
index 9a0d092cd1fa..a445755a1291 100644
--- a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
@@ -67,6 +67,10 @@ pkg_setup() {
src_configure() {
local mycmakeargs=(
+ # Workaround needed to allow build with USE=fortran when an older
+ # version is installed. See bug #808633 and
+ # https://github.com/HDFGroup/hdf5/issues/1027 upstream.
+ -DCMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE=ON
-DBUILD_STATIC_LIBS=OFF
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
-DHDF5_BUILD_EXAMPLES=OFF