git: 22ba7292a1c9 - main - net/mpich: apply the fix for clang 17 on all OSVERSION
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 23 Jan 2024 19:09:54 UTC
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=22ba7292a1c9956f39d2004c0513bede7e2cbcee
commit 22ba7292a1c9956f39d2004c0513bede7e2cbcee
Author: Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2024-01-23 18:59:12 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2024-01-23 19:09:49 +0000
net/mpich: apply the fix for clang 17 on all OSVERSION
clang-17 has been MFC’ed: do not check OSVERSION but rather COMPILER_VERSION.
PR: 276035
Reported by: pmc (at) citylink.dinoex.sub.org
---
net/mpich/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/mpich/Makefile b/net/mpich/Makefile
index 0a356031c872..5d47ba506aa9 100644
--- a/net/mpich/Makefile
+++ b/net/mpich/Makefile
@@ -76,9 +76,9 @@ CONFIGURE_ARGS= --enable-fast="" \
LIBS="-L${LOCALBASE}/lib -lepoll-shim -ljson-c -lm" \
BASH_SHELL=${LOCALBASE}/bin/bash
-.include <bsd.port.options.mk>
+.include <bsd.port.pre.mk>
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1500005
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} == 170
# linker error when compiling with llvm 17.0.6 on CURRENT - PR 276035
# To be removed with llvm-18
CONFIGURE_ENV+= ac_cv_sizeof___float128=0
@@ -115,4 +115,4 @@ post-extract:
post-patch:
${RM} -r ${WRKSRC}/www
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>