git: 89afc91dd969 - main - net-im/quaternion: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 08 Aug 2023 09:55:22 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=89afc91dd9695a80acb6df02c1df46350c1d2180 commit 89afc91dd9695a80acb6df02c1df46350c1d2180 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-08 02:04:38 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-08 09:55:13 +0000 net-im/quaternion: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- net-im/quaternion/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/net-im/quaternion/Makefile b/net-im/quaternion/Makefile index bcc9fe46e920..66162462115a 100644 --- a/net-im/quaternion/Makefile +++ b/net-im/quaternion/Makefile @@ -30,4 +30,13 @@ USE_GITHUB= yes GH_ACCOUNT= quotient-im GH_TAGNAME= 447d8ec4f990499fb589a37b7e8eae8c6781cadc +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +USES+= llvm:max=15 +CPP= clang-cpp${LLVM_VERSION} +CC= clang${LLVM_VERSION} +CXX= clang++${LLVM_VERSION} +.endif + .include <bsd.port.mk>