Date: Tue, 17 Nov 2020 22:39:17 +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: r555605 - head/science/octopus Message-ID: <202011172239.0AHMdHcq019867@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Tue Nov 17 22:39:17 2020 New Revision: 555605 URL: https://svnweb.freebsd.org/changeset/ports/555605 Log: Add workaround for new failure with Fortran GCC 10 frontend: BOZ literal constant at (1) is neither a data-stmt-constant nor an actual argument to INT, REAL, DBLE, or CMPLX intrinsic function PR: 246700 Approved by: maintainer Modified: head/science/octopus/Makefile Modified: head/science/octopus/Makefile ============================================================================== --- head/science/octopus/Makefile Tue Nov 17 22:37:32 2020 (r555604) +++ head/science/octopus/Makefile Tue Nov 17 22:39:17 2020 (r555605) @@ -41,7 +41,15 @@ OPTIONS_DEFINE= OPENMP OPTIONS_DEFAULT= OPENMP OPENMP_CONFIGURE_ENABLE= openmp +.include <bsd.port.pre.mk> + +# workaround for: +# Error: BOZ literal constant at (1) is neither a data-stmt-constant nor an actual argument to INT, REAL, DBLE, or CMPLX intrinsic function [see '-fno-allow-invalid-boz'] +.if ${GCC_DEFAULT} >= 10 +FCFLAGS+= -fallow-argument-mismatch -fallow-invalid-boz +.endif + post-stage: # https://gitlab.com/octopus-code/octopus/issues/108 @${RM} ${STAGEDIR}${PREFIX}/include/yaml.h -.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?202011172239.0AHMdHcq019867>