Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 2020 10:44:05 +0000 (UTC)
From:      Thierry Thomas <thierry@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556967 - head/science/tfel-edf
Message-ID:  <202012041044.0B4Ai51Z073264@repo.freebsd.org>

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



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