1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

science/dcl: Unbreak build with GCC 10

glrqnp.f:29:56:

   29 |       DATA CPARAS(6) / 'REALMIN ' /, RX(6) / Z'00800000' /
      |                                                        1
Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see '-fno-allow-invalid-boz']
glrqnp.f:28:56:

   28 |       DATA CPARAS(5) / 'REALMAX ' /, RX(5) / Z'7F7FFFFF' /
      |                                                        1
Error: BOZ literal constant near (1) cannot be assigned to a REAL variable [see '-fno-allow-invalid-boz']

http://package18.nyi.freebsd.org/data/121amd64-default-PR244494/2020-06-10_18h04m44s/logs/errors/dcl-5.4.8_9.log

PR:		246700
This commit is contained in:
Tobias Kortkamp 2020-07-04 06:54:39 +00:00
parent 0bfe559bae
commit 1c851ae5da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=541167

View File

@ -26,6 +26,12 @@ RESTRICTED= No commercial use
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10
FFLAGS+= -fallow-invalid-boz
.endif
post-install:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
(cd ${WRKSRC}/demo/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})