commit: cfbb89ed506d70f133c0f233291a27b8fbe7def8 Author: David Seifert <soap <AT> gentoo <DOT> org> AuthorDate: Sun Jun 14 22:13:31 2020 +0000 Commit: David Seifert <soap <AT> gentoo <DOT> org> CommitDate: Sun Jun 14 22:13:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfbb89ed
sci-libs/arpack: Conditionally add -fallow-argument-mismatch Closes: https://bugs.gentoo.org/727592 Package-Manager: Portage-2.3.100, Repoman-2.3.22 Signed-off-by: David Seifert <soap <AT> gentoo.org> sci-libs/arpack/arpack-3.4.0.ebuild | 4 +++- sci-libs/arpack/arpack-3.5.0.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/sci-libs/arpack/arpack-3.4.0.ebuild b/sci-libs/arpack/arpack-3.4.0.ebuild index 0b424e22868..69fc2492c91 100644 --- a/sci-libs/arpack/arpack-3.4.0.ebuild +++ b/sci-libs/arpack/arpack-3.4.0.ebuild @@ -33,7 +33,9 @@ src_prepare() { } src_configure() { - append-fflags -fallow-argument-mismatch + test-flag-FC -fallow-argument-mismatch && + append-fflags -fallow-argument-mismatch + econf \ --disable-static \ --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \ diff --git a/sci-libs/arpack/arpack-3.5.0.ebuild b/sci-libs/arpack/arpack-3.5.0.ebuild index 097be6e89f8..9d7769d6392 100644 --- a/sci-libs/arpack/arpack-3.5.0.ebuild +++ b/sci-libs/arpack/arpack-3.5.0.ebuild @@ -33,7 +33,9 @@ src_prepare() { } src_configure() { - append-fflags -fallow-argument-mismatch + test-flag-FC -fallow-argument-mismatch && + append-fflags -fallow-argument-mismatch + econf \ --disable-static \ --with-blas="$($(tc-getPKG_CONFIG) --libs blas)" \
