svn commit: r555600 - head/science/dftbplus
Mark Linimon
linimon at FreeBSD.org
Tue Nov 17 22:28:17 UTC 2020
Author: linimon
Date: Tue Nov 17 22:28:16 2020
New Revision: 555600
URL: https://svnweb.freebsd.org/changeset/ports/555600
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)/CHARACTER(*)).
PR: 246700
Approved by: maintainer
Modified:
head/science/dftbplus/Makefile
Modified: head/science/dftbplus/Makefile
==============================================================================
--- head/science/dftbplus/Makefile Tue Nov 17 22:27:00 2020 (r555599)
+++ head/science/dftbplus/Makefile Tue Nov 17 22:28:16 2020 (r555600)
@@ -62,6 +62,14 @@ ARPACK_PREVENTS= MPI # ARPACK is only used in a single
MAKE_JOBS_UNSAFE= yes # race conditions when some options are ON
+.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)/CHARACTER(*)).
+# in theory, this should set FCFLAGS, but the port does not conform
+FFLAGS+= -fallow-argument-mismatch
+.endif
+
post-extract:
@${RM} ${WRKSRC}/external/scalapackfx/origin/test/psyr_result.dat.orig
@cd ${WRKSRC} && ${CP} sys/make.x86_64-linux-gnu make.arch
@@ -69,4 +77,4 @@ post-extract:
post-install:
@cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} dftb+ modes waveplot
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
More information about the svn-ports-head
mailing list