Add workaround for Fortran frontend to GCC 10.

PR:		246700
This commit is contained in:
Mark Linimon 2020-11-17 22:19:09 +00:00
parent 8f6de3a4e3
commit 5d722eca6a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555595

View File

@ -40,6 +40,13 @@ REFERENCE_USES= blaslapack
MANUALFILE= sdpa.7.1.1.manual.20080618.pdf
.include <bsd.port.pre.mk>
.if ${GCC_DEFAULT} >= 10
# workaround for Type mismatch in argument 's' at (1); passed INTEGER(4) to LOGICAL(4)
CONFIGURE_ARGS+= FCFLAGS=-fallow-argument-mismatch
.endif
post-extract:
@(cd ${DISTDIR}/${DIST_SUBDIR} && ${PAX} -rw \
mumps_4.10.0.dfsg.orig.tar.gz ${WRKSRC}/mumps)
@ -62,4 +69,4 @@ post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MANUALFILE} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
.include <bsd.port.post.mk>