aboutsummaryrefslogtreecommitdiff
path: root/science/tfel-edf
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2020-12-04 10:44:04 +0000
committerThierry Thomas <thierry@FreeBSD.org>2020-12-04 10:44:04 +0000
commita29fa78a8c747eddea3331c69ad19ff649463405 (patch)
treedbba286838ae6b0c374a9dace1f9e9ccc1767380 /science/tfel-edf
parent5826cc31c2078fe8ee4b471a1e4dfb2f5faecc05 (diff)
downloadports-a29fa78a8c747eddea3331c69ad19ff649463405.tar.gz
ports-a29fa78a8c747eddea3331c69ad19ff649463405.zip
Add a work-around for gfortran10 (different operand types).
Note: this is fixed in the next release, used in science/tfel. PR: 246700 Reported by: exp-run
Notes
Notes: svn path=/head/; revision=556967
Diffstat (limited to 'science/tfel-edf')
-rw-r--r--science/tfel-edf/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/science/tfel-edf/Makefile b/science/tfel-edf/Makefile
index 5c687e30905e..17ed78171e3d 100644
--- a/science/tfel-edf/Makefile
+++ b/science/tfel-edf/Makefile
@@ -43,6 +43,10 @@ TEST_TARGET= check
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../french/aster/bsd.aster.mk"
+.if ${FORTRAN_DEFAULT} == gfortran && ${GCC_DEFAULT} >= 10
+FCFLAGS+= -fallow-argument-mismatch
+.endif
+
post-install:
(cd ${STAGEDIR}${PREFIX} && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-d ${PREFIX} -f ${PYTHONPREFIX_SITELIBDIR:S,${PREFIX}/,,})