svn commit: r555606 - head/science/siesta
Mark Linimon
linimon at FreeBSD.org
Tue Nov 17 22:40:46 UTC 2020
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>
More information about the svn-ports-all
mailing list