summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2020-06-15 00:13:31 +0200
committerDavid Seifert <soap@gentoo.org>2020-06-15 00:13:31 +0200
commitcfbb89ed506d70f133c0f233291a27b8fbe7def8 (patch)
tree1bcba1999c8cf361ff42f4199adb4217373602b1 /sci-libs/arpack
parentgames-strategy/widelands: Fix for boost 1.73 (diff)
downloadgentoo-cfbb89ed506d70f133c0f233291a27b8fbe7def8.tar.gz
gentoo-cfbb89ed506d70f133c0f233291a27b8fbe7def8.tar.bz2
gentoo-cfbb89ed506d70f133c0f233291a27b8fbe7def8.zip
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@gentoo.org>
Diffstat (limited to 'sci-libs/arpack')
-rw-r--r--sci-libs/arpack/arpack-3.4.0.ebuild4
-rw-r--r--sci-libs/arpack/arpack-3.5.0.ebuild4
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 0b424e228681..69fc2492c91d 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 097be6e89f8f..9d7769d63926 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)" \