summaryrefslogtreecommitdiff
path: root/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/hdf5/hdf5-1.12.2-r1.ebuild')
-rw-r--r--sci-libs/hdf5/hdf5-1.12.2-r1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild b/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
index d5390cee5762..325f24396b29 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
@@ -64,6 +64,10 @@ pkg_setup() {
src_configure() {
use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
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
-DONLY_SHARED_LIBS=ON
-DFETCHCONTENT_FULLY_DISCONNECTED=ON