Date: Tue, 17 Nov 2020 22:36:02 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555603 - head/science/mbdyn Message-ID: <202011172236.0AHMa22x019497@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Tue Nov 17 22:36:02 2020 New Revision: 555603 URL: https://svnweb.freebsd.org/changeset/ports/555603 Log: Add workaround for new failure with Fortran GCC 10 frontend: Type mismatch in argument 't' at (1); passed REAL(4) to INTEGER(4) PR: 246700 Approved by: maintainer Modified: head/science/mbdyn/Makefile Modified: head/science/mbdyn/Makefile ============================================================================== --- head/science/mbdyn/Makefile Tue Nov 17 22:34:27 2020 (r555602) +++ head/science/mbdyn/Makefile Tue Nov 17 22:36:02 2020 (r555603) @@ -58,9 +58,17 @@ METIS_LIB_DEPENDS= libmetis.so:math/metis REFERENCE_CONFIGURE_ON= --with-blas=blas REFERENCE_USES= blaslapack:netlib +.include <bsd.port.pre.mk> + +.if ${GCC_DEFAULT} >= 10 +# workaround for Type mismatch in argument 't' at (1); passed REAL(4) to INTEGER(4) +# in theory, this should set FCFLAGS, but the port does not conform +FFLAGS+= -fallow-argument-mismatch +.endif + pre-configure: ${REINPLACE_CMD} -e '/try_lapack_LIBS=/s/-llapack/${LAPACKLIB}/' \ -e 's/ -lxerbla//; s/-lcholmod/-lcholmod ${BLASLIB} ${LAPACKLIB} -lsuitesparseconfig/' \ ${WRKSRC}/configure -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011172236.0AHMa22x019497>