diff options
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/hdf5/hdf5-1.12.1-r1.ebuild | 4 |
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 |