From 56bb49e97ee1dc6ee5a257bed3e45c2154b87dab Mon Sep 17 00:00:00 2001 From: Alexey Shvetsov Date: Mon, 8 Jun 2020 00:11:18 +0300 Subject: sci-libs/arpack: Fix build with gcc10 Closes: https://bugs.gentoo.org/721858 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: Alexey Shvetsov --- sci-libs/arpack/arpack-3.4.0.ebuild | 13 +++++++------ sci-libs/arpack/arpack-3.5.0.ebuild | 11 ++++++----- sci-libs/arpack/arpack-9999.ebuild | 10 +++++----- 3 files changed, 18 insertions(+), 16 deletions(-) (limited to 'sci-libs/arpack') diff --git a/sci-libs/arpack/arpack-3.4.0.ebuild b/sci-libs/arpack/arpack-3.4.0.ebuild index bdb9445f39b9..0b424e228681 100644 --- a/sci-libs/arpack/arpack-3.4.0.ebuild +++ b/sci-libs/arpack/arpack-3.4.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit autotools eutils fortran-2 toolchain-funcs +inherit autotools eutils flag-o-matic fortran-2 toolchain-funcs DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems" HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng" @@ -33,6 +33,7 @@ src_prepare() { } src_configure() { + append-fflags -fallow-argument-mismatch econf \ --disable-static \ --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ @@ -47,11 +48,11 @@ src_install() { newdoc DOCUMENTS/README README.doc use doc && dodoc "${WORKDIR}"/*.ps if use examples; then - insinto /usr/share/doc/${PF} - doins -r EXAMPLES + docinto /usr/share/doc/${PF} + dodoc -r EXAMPLES if use mpi; then - insinto /usr/share/doc/${PF}/EXAMPLES/PARPACK - doins -r PARPACK/EXAMPLES/MPI + docinto /usr/share/doc/${PF}/EXAMPLES/PARPACK + dodoc -r PARPACK/EXAMPLES/MPI fi fi } diff --git a/sci-libs/arpack/arpack-3.5.0.ebuild b/sci-libs/arpack/arpack-3.5.0.ebuild index 8f4f64772fda..097be6e89f8f 100644 --- a/sci-libs/arpack/arpack-3.5.0.ebuild +++ b/sci-libs/arpack/arpack-3.5.0.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools eutils fortran-2 toolchain-funcs +inherit autotools eutils flag-o-matic fortran-2 toolchain-funcs DESCRIPTION="Arnoldi package library to solve large scale eigenvalue problems" HOMEPAGE="http://www.caam.rice.edu/software/ARPACK/ https://github.com/opencollab/arpack-ng" @@ -33,6 +33,7 @@ src_prepare() { } src_configure() { + append-fflags -fallow-argument-mismatch econf \ --disable-static \ --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ @@ -47,11 +48,11 @@ src_install() { newdoc DOCUMENTS/README README.doc use doc && dodoc "${WORKDIR}"/*.ps if use examples; then - insinto /usr/share/doc/${PF} - doins -r EXAMPLES + docinto /usr/share/doc/${PF} + dodoc -r EXAMPLES if use mpi; then - insinto /usr/share/doc/${PF}/EXAMPLES/PARPACK - doins -r PARPACK/EXAMPLES/MPI + docinto /usr/share/doc/${PF}/EXAMPLES/PARPACK + dodoc -r PARPACK/EXAMPLES/MPI fi fi } diff --git a/sci-libs/arpack/arpack-9999.ebuild b/sci-libs/arpack/arpack-9999.ebuild index e81afe18fb49..e295ad66c2cd 100644 --- a/sci-libs/arpack/arpack-9999.ebuild +++ b/sci-libs/arpack/arpack-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -47,11 +47,11 @@ src_install() { dodoc DOCUMENTS/*.doc newdoc DOCUMENTS/README README.doc if use examples; then - insinto /usr/share/doc/${PF} - doins -r EXAMPLES + docinto /usr/share/doc/${PF} + dodoc -r EXAMPLES if use mpi; then - insinto /usr/share/doc/${PF}/EXAMPLES/PARPACK - doins -r PARPACK/EXAMPLES/MPI + docinto /usr/share/doc/${PF}/EXAMPLES/PARPACK + dodoc -r PARPACK/EXAMPLES/MPI fi fi } -- cgit v1.2.3-65-gdbad