Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2021 21:51:04 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r569522 - head/biology/molden
Message-ID:  <202103292151.12TLp45j012194@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103292151.12TLp45j012194>