Date: Tue, 17 Nov 2020 22:40:46 +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: r555606 - head/science/siesta Message-ID: <202011172240.0AHMek3p020087@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Tue Nov 17 22:40:45 2020 New Revision: 555606 URL: https://svnweb.freebsd.org/changeset/ports/555606 Log: Add workaround for new failure with Fortran GCC 10 frontend: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)). PR: 246700 Approved by: maintainer Modified: head/science/siesta/Makefile Modified: head/science/siesta/Makefile ============================================================================== --- head/science/siesta/Makefile Tue Nov 17 22:39:17 2020 (r555605) +++ head/science/siesta/Makefile Tue Nov 17 22:40:45 2020 (r555606) @@ -26,10 +26,17 @@ MAKE_JOBS_UNSAFE= yes PLIST_FILES= bin/${PORTNAME} +.include <bsd.port.pre.mk> + +.if ${GCC_DEFAULT} >= 10 +# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)). +FCFLAGS+= -fallow-argument-mismatch +.endif + pre-configure: @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SH} ../Src/obj_setup.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin -.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?202011172240.0AHMek3p020087>