svn commit: r569522 - head/biology/molden

Yuri Victorovich yuri at FreeBSD.org
Mon Mar 29 21:51:04 UTC 2021


Author: yuri
Date: Mon Mar 29 21:51:03 2021
New Revision: 569522
URL: https://svnweb.freebsd.org/changeset/ports/569522

Log:
  biology/molden: Fix build with gfortran10

Modified:
  head/biology/molden/Makefile

Modified: head/biology/molden/Makefile
==============================================================================
--- head/biology/molden/Makefile	Mon Mar 29 21:50:25 2021	(r569521)
+++ head/biology/molden/Makefile	Mon Mar 29 21:51:03 2021	(r569522)
@@ -73,4 +73,12 @@ do-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${DOCSDIR}
 	(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${GCC_DEFAULT} >= 10
+# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
+# in theory, this should set FCFLAGS, but the port does not conform
+FFLAGS+=	-fallow-argument-mismatch
+.endif
+
+.include <bsd.port.post.mk>


More information about the svn-ports-head mailing list