git: 420005fac48c - main - net-im/neochat: work around compiler bug present on current

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Fri, 30 Jun 2023 17:04:44 UTC
The branch main has been updated by tcberner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=420005fac48c3dddc7807674a5276a75d4bead77

commit 420005fac48c3dddc7807674a5276a75d4bead77
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-06-30 17:04:02 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-06-30 17:04:26 +0000

    net-im/neochat: work around compiler bug present on current
    
    PR:             272285
---
 net-im/neochat/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/net-im/neochat/Makefile b/net-im/neochat/Makefile
index 994e5b328e5d..d6414f3f7079 100644
--- a/net-im/neochat/Makefile
+++ b/net-im/neochat/Makefile
@@ -38,6 +38,12 @@ USE_XORG=	x11
 .if ${ARCH:Mpowerpc*}
 CXX=		clang++${LLVM_VERSION}
 USES+=		llvm:min=16
+.else
+# Work around compiler bug, see pr: 272285
+USES+=		llvm
+CC=		${LLVM_PREFIX}/bin/clang
+CPP=		${LLVM_PREFIX}/bin/clang-cpp
+CXX=		${LLVM_PREFIX}/bin/clang++
 .endif
 
 .include <bsd.port.mk>