I propose to update devel/cvise to the latest v2.7.0, and make it depend on the newest llvm port, devel/llvm15. This also requires a few minor post-2.7.0 patches, which are fetched directly from GitHub.
Created attachment 240555 [details] Update cvise to 2.7.0
There is now USES=llvm, which you can use instead of manually setting dependency on LLVM.
(In reply to Piotr Kubaj from comment #2) I'm going to commit this first, then have a look a refactoring.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3885e25f6a019eaa52549deac6bb4de260a15d5f commit 3885e25f6a019eaa52549deac6bb4de260a15d5f Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-03-04 20:20:36 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-03-18 13:54:09 +0000 devel/cvise: update to 2.7.0 This updates devel/cvise to the latest upstream release, and uses devel/llvm15 as dependency. PR: 269935 Approved by: maintainer timeout (2 weeks) MFH: 2023Q1 devel/cvise/Makefile | 22 ++++++++++++++++++---- devel/cvise/distinfo | 14 +++++++++++--- 2 files changed, 29 insertions(+), 7 deletions(-)
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=8a459e62a97c1f21ed317964131308836b26ccbf commit 8a459e62a97c1f21ed317964131308836b26ccbf Author: Dimitry Andric <dim@FreeBSD.org> AuthorDate: 2023-03-18 16:08:50 +0000 Commit: Dimitry Andric <dim@FreeBSD.org> CommitDate: 2023-03-18 16:11:52 +0000 devel/cvise: switch to USES=llvm Instead of hand-declaring llvm dependencies, use USES=llvm instead. This still needs USES=compiler for checking the base system's clang version, as cvise 2.7.0 requires clang >= 15 to compile. PR: 269935 Reported by: pkubaj Approved by: maintainer timeout (2 weeks) MFH: 2023Q1 devel/cvise/Makefile | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-)