svn commit: r556967 - head/science/tfel-edf

Thierry Thomas thierry at FreeBSD.org
Fri Dec 4 10:44:05 UTC 2020


Author: thierry
Date: Fri Dec  4 10:44:04 2020
New Revision: 556967
URL: https://svnweb.freebsd.org/changeset/ports/556967

Log:
  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

Modified:
  head/science/tfel-edf/Makefile

Modified: head/science/tfel-edf/Makefile
==============================================================================
--- head/science/tfel-edf/Makefile	Fri Dec  4 10:43:24 2020	(r556966)
+++ head/science/tfel-edf/Makefile	Fri Dec  4 10:44:04 2020	(r556967)
@@ -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}/,,})


More information about the svn-ports-head mailing list