Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Nov 2020 09:42:46 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556481 - head/math/mumps
Message-ID:  <202011280942.0AS9gksU013300@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: thierry
Date: Sat Nov 28 09:42:46 2020
New Revision: 556481
URL: https://svnweb.freebsd.org/changeset/ports/556481

Log:
  Add a work-around for gfortran10.
  
  PR:		246700

Modified:
  head/math/mumps/Makefile

Modified: head/math/mumps/Makefile
==============================================================================
--- head/math/mumps/Makefile	Sat Nov 28 08:03:20 2020	(r556480)
+++ head/math/mumps/Makefile	Sat Nov 28 09:42:46 2020	(r556481)
@@ -47,6 +47,10 @@ MAKE_JOBS_UNSAFE=yes
 PKGNAMESUFFIX+=		-mpich
 .endif
 
+.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10
+FCFLAGS+=	-fallow-argument-mismatch
+.endif
+
 post-patch-MPI-on:
 	${INSTALL_DATA} ${WRKSRC}/Make.inc/Makefile.FREEBSD10.PAR \
 		${WRKSRC}/Makefile.inc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011280942.0AS9gksU013300>