Skip to content

Commit

Permalink
sci-libs/hdf5: add use flag for enabling high level API
Browse files Browse the repository at this point in the history
Fixes bug #594560 reported by eroen <[email protected]>

Package-Manager: portage-2.2.28
  • Loading branch information
Xarthisius committed Sep 22, 2016
1 parent 7ab9320 commit a996784
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sci-libs/hdf5/hdf5-1.8.17.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ SRC_URI="https://support.hdfgroup.org/ftp/HDF5/releases/${MY_P}/src/${MY_P}.tar.
LICENSE="NCSA-HDF"
SLOT="0/${PV%%_p*}"
KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
IUSE="cxx debug examples fortran fortran2003 mpi static-libs szip threads zlib"
IUSE="cxx debug examples fortran fortran2003 +hl mpi static-libs szip threads zlib"

REQUIRED_USE="
cxx? ( !mpi ) mpi? ( !cxx )
threads? ( !cxx !mpi !fortran )
threads? ( !cxx !mpi !fortran !hl )
fortran2003? ( fortran )"

RDEPEND="
Expand Down Expand Up @@ -94,6 +94,7 @@ src_configure() {
$(use_enable cxx)
$(use_enable fortran)
$(use_enable fortran2003)
$(use_enable hl)
$(use_enable mpi parallel)
$(use_enable threads threadsafe)
$(use_with szip szlib)
Expand Down
2 changes: 2 additions & 0 deletions sci-libs/hdf5/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,7 @@
<use>
<flag name="fortran2003">Enable new features that require Fortran 2003
(http://www.hdfgroup.org/HDF5/doc/fortran/NewFeatures_F2003.pdf)</flag>
<flag name="hl">Enable high level API
(https://support.hdfgroup.org/HDF5/doc/HL/index.html)</flag>
</use>
</pkgmetadata>

0 comments on commit a996784

Please sign in to comment.