commit:     fa33d93b58c144d63edfcd8f6c8691b9366af2de
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  7 04:11:13 2017 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Dec  7 04:11:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa33d93b

sci-libs/hdf5: really drop USE fortran2003.

  fortran2003 is supported by gfortran-4.9 which is the
  oldest in the main tree.  As of 1.10, hdf5 drops the
  fortran2003 configuration option.

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-libs/hdf5/hdf5-1.10.1.ebuild | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.1.ebuild b/sci-libs/hdf5/hdf5-1.10.1.ebuild
index 5980c67ccda..4d77cd12bb3 100644
--- a/sci-libs/hdf5/hdf5-1.10.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.1.ebuild
@@ -18,12 +18,11 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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 mpi static-libs szip threads zlib"
 
 REQUIRED_USE="
        cxx? ( !mpi ) mpi? ( !cxx )
-       threads? ( !cxx !mpi !fortran )
-       fortran2003? ( fortran )"
+       threads? ( !cxx !mpi !fortran )"
 
 RDEPEND="
        mpi? ( virtual/mpi[romio] )
@@ -45,10 +44,8 @@ PATCHES=(
 
 pkg_setup() {
        tc-export CXX CC AR # workaround for bug 285148
-       if use fortran; then
-               use fortran2003 && FORTRAN_STANDARD=2003
-               fortran-2_pkg_setup
-       fi
+       use fortran && fortran-2_pkg_setup
+
        if use mpi; then
                if has_version 'sci-libs/hdf5[-mpi]'; then
                        ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
@@ -88,7 +85,6 @@ src_configure() {
                $(use_enable debug codestack)
                $(use_enable cxx)
                $(use_enable fortran)
-               $(use_enable fortran2003)
                $(use_enable mpi parallel)
                $(use_enable threads threadsafe)
                $(use_with szip szlib)

Reply via email to