Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2021 19:46:10 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 418488f390af - main - math/elpa: Fix build on 14; Disable building test code
Message-ID:  <202108211946.17LJkAA7055855@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=418488f390af7dc2bb5c9ba91cc8c16aebdec214

commit 418488f390af7dc2bb5c9ba91cc8c16aebdec214
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-08-21 19:45:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
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 <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:NSSE}



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