svn commit: r555598 - head/math/coinmumps
Mark Linimon
linimon at FreeBSD.org
Tue Nov 17 22:25:28 UTC 2020
Author: linimon
Date: Tue Nov 17 22:25:28 2020
New Revision: 555598
URL: https://svnweb.freebsd.org/changeset/ports/555598
Log:
Add workaround for new failure with Fortran GCC 10 frontend:
Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
PR: 246700
Approved by: maintainer
Modified:
head/math/coinmumps/Makefile
Modified: head/math/coinmumps/Makefile
==============================================================================
--- head/math/coinmumps/Makefile Tue Nov 17 22:23:24 2020 (r555597)
+++ head/math/coinmumps/Makefile Tue Nov 17 22:25:28 2020 (r555598)
@@ -29,6 +29,14 @@ INSTALL_TARGET= install-strip
MUMPS_VERSION= 4.10.0
+.include <bsd.port.pre.mk>
+
+.if ${GCC_DEFAULT} >= 10
+# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
+# in theory, this should set FCFLAGS, but the port does not conform
+FFLAGS+= -fallow-argument-mismatch
+.endif
+
post-extract:
@${RLN} ${WRKDIR}/MUMPS_${MUMPS_VERSION} ${WRKSRC}/MUMPS
@@ -38,4 +46,4 @@ post-patch: # from get.Mumps
${PATCH} -p0 < mumps_mpi.patch && \
${MV} MUMPS/libseq/mpi.h MUMPS/libseq/mumps_mpi.h
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list