https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287430

--- Comment #5 from [email protected] ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=496d5f7bf5e2697546731bc0728ba1ff99ebfd13

commit 496d5f7bf5e2697546731bc0728ba1ff99ebfd13
Author:     Jason E. Hale <[email protected]>
AuthorDate: 2025-06-11 08:55:23 +0000
Commit:     Jason E. Hale <[email protected]>
CommitDate: 2025-06-11 09:38:55 +0000

    devel/qt6-tools: Avoid LLVM version mismatches

    In 6.9.0, the Tools component of Qt introduced more restrictive checks
    for versions of LLVM it supports and automatically selects the newest
    version installed without an offical override option. This is
    problematic for us, because if a user has a version of LLVM installed
    greater than what they have set in DEFAULT_VERSIONS, it will cause
    configuration errors due to CMake mismatching the latest version of LLVM
    found with the version we actually want to build against.

    Patch to only supply the version of LLVM we intend to build against to
    the checks. These checks need at least the major and minor version of
    LLVM to work. Unfortunately, LLVM_VERSION, which only provide the major
    version isn't enough, so there's some silliness which is hopefully
    explained well enough in the Makefile and in the patch for future
    hackers.

    PR:             287430
    Reported by:    Ivan Rozhuk <[email protected]>, Chad Jacob Milios
<[email protected]>

 devel/qt6-tools/Makefile                      | 16 ++++++++++++----
 devel/qt6-tools/files/patch-.cmake.conf (new) | 19 +++++++++++++++++++
 2 files changed, 31 insertions(+), 4 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to