Bug 269935 - devel/cvise: update to 2.7.0 (with llvm15 dependency)
Summary: devel/cvise: update to 2.7.0 (with llvm15 dependency)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-03 11:14 UTC by Dimitry Andric
Modified: 2023-03-18 16:12 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (swills)


Attachments
Update cvise to 2.7.0 (2.71 KB, patch)
2023-03-03 11:15 UTC, Dimitry Andric
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dimitry Andric freebsd_committer freebsd_triage 2023-03-03 11:14:44 UTC
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.
Comment 1 Dimitry Andric freebsd_committer freebsd_triage 2023-03-03 11:15:11 UTC
Created attachment 240555 [details]
Update cvise to 2.7.0
Comment 2 Piotr Kubaj freebsd_committer freebsd_triage 2023-03-18 12:55:04 UTC
There is now USES=llvm, which you can use instead of manually setting dependency on LLVM.
Comment 3 Dimitry Andric freebsd_committer freebsd_triage 2023-03-18 13:07:52 UTC
(In reply to Piotr Kubaj from comment #2)
I'm going to commit this first, then have a look a refactoring.
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-03-18 13:54:50 UTC
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(-)
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-03-18 16:12:19 UTC
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(-)