diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-03-29 21:51:03 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-03-29 21:51:03 +0000 |
commit | 6393f0979a63be7ff5dc4495ed1c5741a89b7f13 (patch) | |
tree | d7185d7c6472df254c99a018d487a84ad6120e1c /biology/molden | |
parent | deskutils/just: Update 0.8.4 -> 0.9.0 (diff) |
biology/molden: Fix build with gfortran10
Notes
Notes:
svn path=/head/; revision=569522
Diffstat (limited to 'biology/molden')
-rw-r--r-- | biology/molden/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/biology/molden/Makefile b/biology/molden/Makefile index 3215b6e7eb69..48cf9422f402 100644 --- a/biology/molden/Makefile +++ b/biology/molden/Makefile @@ -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> |