git: eb36006fdb70 - main - net/mpich: Unbreak on CURRENT with base clang 17
Date: Tue, 19 Dec 2023 20:57:10 UTC
The branch main has been updated by rhurlin: URL: https://cgit.FreeBSD.org/ports/commit/?id=eb36006fdb707f3f8c9df41d465cc5b89addcf78 commit eb36006fdb707f3f8c9df41d465cc5b89addcf78 Author: Rainer Hurling <rhurlin@FreeBSD.org> AuthorDate: 2023-12-19 20:53:31 +0000 Commit: Rainer Hurling <rhurlin@FreeBSD.org> CommitDate: 2023-12-19 20:53:31 +0000 net/mpich: Unbreak on CURRENT with base clang 17 clang version 17.0.6 causes linker errors that break the build on 15.0-CURRENT. Work around this by building with an older llvm from ports. This patch is same as commit f25b169ac895. Thanks to thierry@ for the hint. --- net/mpich/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/net/mpich/Makefile b/net/mpich/Makefile index 115f15a2d9fc..f97f283e6faa 100644 --- a/net/mpich/Makefile +++ b/net/mpich/Makefile @@ -78,6 +78,12 @@ CONFIGURE_ARGS= --enable-fast="" \ .include <bsd.port.options.mk> +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500005 +# linker error when compiling with llvm 17.0.6 on CURRENT +USES+= llvm:max=16 +CHOSEN_COMPILER_TYPE= clang +.endif + .for pm in ${OPTIONS_GROUP_PM} . if ${PORT_OPTIONS:M${pm}} . if empty(PMLIST)