sci-libs/hdf5: really drop USE fortran2003.
authorBenda Xu <heroxbd@gentoo.org>
Thu, 7 Dec 2017 04:11:13 +0000 (13:11 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Thu, 7 Dec 2017 04:11:47 +0000 (13:11 +0900)
  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

index 5980c67ccda2c7ddd7d2ebbe2fef88a21976980e..4d77cd12bb38006e9c9374563e1fde4ce4026943 100644 (file)
@@ -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)