From owner-svn-ports-all@freebsd.org Tue Nov 17 22:36:02 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA7934711FD; Tue, 17 Nov 2020 22:36:02 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CbLPt4zxVz3pPf; Tue, 17 Nov 2020 22:36:02 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 9E4E527A8E; Tue, 17 Nov 2020 22:36:02 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AHMa2RP019498; Tue, 17 Nov 2020 22:36:02 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AHMa22x019497; Tue, 17 Nov 2020 22:36:02 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <202011172236.0AHMa22x019497@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 17 Nov 2020 22:36:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555603 - head/science/mbdyn X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/science/mbdyn X-SVN-Commit-Revision: 555603 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Nov 2020 22:36:02 -0000 Author: linimon Date: Tue Nov 17 22:36:02 2020 New Revision: 555603 URL: https://svnweb.freebsd.org/changeset/ports/555603 Log: Add workaround for new failure with Fortran GCC 10 frontend: Type mismatch in argument 't' at (1); passed REAL(4) to INTEGER(4) PR: 246700 Approved by: maintainer Modified: head/science/mbdyn/Makefile Modified: head/science/mbdyn/Makefile ============================================================================== --- head/science/mbdyn/Makefile Tue Nov 17 22:34:27 2020 (r555602) +++ head/science/mbdyn/Makefile Tue Nov 17 22:36:02 2020 (r555603) @@ -58,9 +58,17 @@ METIS_LIB_DEPENDS= libmetis.so:math/metis REFERENCE_CONFIGURE_ON= --with-blas=blas REFERENCE_USES= blaslapack:netlib +.include + +.if ${GCC_DEFAULT} >= 10 +# workaround for Type mismatch in argument 't' at (1); passed REAL(4) to INTEGER(4) +# in theory, this should set FCFLAGS, but the port does not conform +FFLAGS+= -fallow-argument-mismatch +.endif + pre-configure: ${REINPLACE_CMD} -e '/try_lapack_LIBS=/s/-llapack/${LAPACKLIB}/' \ -e 's/ -lxerbla//; s/-lcholmod/-lcholmod ${BLASLIB} ${LAPACKLIB} -lsuitesparseconfig/' \ ${WRKSRC}/configure -.include +.include