From owner-dev-commits-ports-main@freebsd.org Sat Aug 21 19:46:11 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 4E57F677773; Sat, 21 Aug 2021 19:46:11 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GsTX31j0Nz3DvP; Sat, 21 Aug 2021 19:46:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1E55D13216; Sat, 21 Aug 2021 19:46:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 17LJkAQU055856; Sat, 21 Aug 2021 19:46:10 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 17LJkAA7055855; Sat, 21 Aug 2021 19:46:10 GMT (envelope-from git) Date: Sat, 21 Aug 2021 19:46:10 GMT Message-Id: <202108211946.17LJkAA7055855@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 418488f390af - main - math/elpa: Fix build on 14; Disable building test code MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 418488f390af7dc2bb5c9ba91cc8c16aebdec214 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Aug 2021 19:46:11 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=418488f390af7dc2bb5c9ba91cc8c16aebdec214 commit 418488f390af7dc2bb5c9ba91cc8c16aebdec214 Author: Yuri Victorovich AuthorDate: 2021-08-21 19:45:35 +0000 Commit: Yuri Victorovich CommitDate: 2021-08-21 19:45:35 +0000 math/elpa: Fix build on 14; Disable building test code -Werror caused -P unknown argument to become an error. Reported this error to the elpa upstream. Reported by: fallout --- math/elpa/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/math/elpa/Makefile b/math/elpa/Makefile index 88a74aa28052..95cecc4d3f23 100644 --- a/math/elpa/Makefile +++ b/math/elpa/Makefile @@ -15,10 +15,13 @@ LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING/lgpl.txt LIB_DEPENDS= libopenblas.so:math/openblas USES= compiler:c11 fortran gmake libtool localbase perl5 shebangfix +USE_LDCONFIG= yes + SHEBANG_GLOB= *.pl + GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-avx --disable-avx2 --disable-static -USE_LDCONFIG= yes +CONFIGURE_ARGS= --disable-avx --disable-avx2 --disable-static \ + --disable-c-tests INSTALL_TARGET= install-strip @@ -37,6 +40,9 @@ MPI_LIB_DEPENDS= libmpich.so:net/mpich \ PORTDOCS= * +post-patch: # workaround for: https://github.com/marekandreas/elpa/issues/6 + @${FIND} ${WRKSRC} -name "*.mk" | ${XARGS} ${REINPLACE_CMD} -e 's|-Werror| |' + .include .if ${PORT_OPTIONS:NSSE}