Date: Sun, 28 Jun 2020 04:29:19 +0000 (UTC) From: Tobias Kortkamp <tobik@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r540671 - head/cad/NASTRAN-95 Message-ID: <202006280429.05S4TJ3m096420@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: tobik Date: Sun Jun 28 04:29:19 2020 New Revision: 540671 URL: https://svnweb.freebsd.org/changeset/ports/540671 Log: cad/NASTRAN-95: Unbreak build with GCC 10 bufchk.f:16:28: 16 | 1 '1'X , '2'X , '3'X , '4'X , '8'X / | 1 Error: BOZ constant at (1) uses nonstandard postfix syntax [see '-fno-allow-invalid-boz'] bufchk.f:18:32: 18 | 1 'F1111'X, 'F2222'X , 'FAAAA'X, 'FBBBB'X / | 1 Error: BOZ constant at (1) uses nonstandard postfix syntax [see '-fno-allow-invalid-boz'] bufchk.f:20:32: 20 | 1 'F5555'X, 'F7777'X , 'F8888'X, 'F9999'X / | 1 Error: BOZ constant at (1) uses nonstandard postfix syntax [see '-fno-allow-invalid-boz'] http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/NASTRAN-95-20160908_6.log PR: 246700 Modified: head/cad/NASTRAN-95/Makefile Modified: head/cad/NASTRAN-95/Makefile ============================================================================== --- head/cad/NASTRAN-95/Makefile Sun Jun 28 04:17:10 2020 (r540670) +++ head/cad/NASTRAN-95/Makefile Sun Jun 28 04:29:19 2020 (r540671) @@ -28,6 +28,12 @@ PLIST_SUB= NASTHOME=${NASTHOME} OPTIONS_DEFINE= DOCS EXAMPLES +.include <bsd.port.options.mk> + +.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10 +FFLAGS+= -fallow-invalid-boz +.endif + pre-build: @${REINPLACE_CMD} -e 's+%%FC%%+${FC}+g ; s+%%FFLAGS%%+${FFLAGS}+g;' \ ${WRKSRC}/src/Makefile \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006280429.05S4TJ3m096420>