pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/arpack-ng arpack-ng: Hack around build failure wi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/518009aa7fd5
branches:  trunk
changeset: 442785:518009aa7fd5
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Nov 30 13:23:55 2020 +0000

description:
arpack-ng: Hack around build failure with gcc<10.

diffstat:

 math/arpack-ng/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r c42bf1be5273 -r 518009aa7fd5 math/arpack-ng/Makefile
--- a/math/arpack-ng/Makefile   Mon Nov 30 13:06:40 2020 +0000
+++ b/math/arpack-ng/Makefile   Mon Nov 30 13:23:55 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/11/19 19:58:27 mcf Exp $
+# $NetBSD: Makefile,v 1.4 2020/11/30 13:23:55 nia Exp $
 
 DISTNAME=      arpack-ng-3.7.0
 PKGREVISION=   1
@@ -15,7 +15,9 @@
 
 # Required to build with gfortran 10. Fixed upstream in
 # https://github.com/opencollab/arpack-ng/commit/9418632214
+.if !empty(POSSIBLE_GFORTRAN_VERSION:M1*)
 FFLAGS+=       -fallow-argument-mismatch
+.endif
 
 OBJDIR=                obj
 



Home | Main Index | Thread Index | Old Index