svn commit: r555604 - head/science/mdynamix
Mark Linimon
linimon at FreeBSD.org
Tue Nov 17 22:37:32 UTC 2020
Author: linimon
Date: Tue Nov 17 22:37:32 2020
New Revision: 555604
URL: https://svnweb.freebsd.org/changeset/ports/555604
Log:
Add workaround for new failure with Fortran GCC 10 frontend:
Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
PR: 246700
Approved by: maintainer
Modified:
head/science/mdynamix/Makefile
Modified: head/science/mdynamix/Makefile
==============================================================================
--- head/science/mdynamix/Makefile Tue Nov 17 22:36:02 2020 (r555603)
+++ head/science/mdynamix/Makefile Tue Nov 17 22:37:32 2020 (r555604)
@@ -26,4 +26,12 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/md ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mdp ${STAGEDIR}${PREFIX}/bin
+.include <bsd.port.pre.mk>
+
+.if ${GCC_DEFAULT} >= 10
+# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
+# in theory, this should set FCFLAGS, but the port does not conform
+FFLAGS+= -fallow-argument-mismatch
+.endif
+
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list