Re: Cannot build devel/kodi-platform

Dimitry Andric <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
On 1 Feb 2026, at 12:45, Andrea Venturoli <[email protected]> wrote:
> 
> On 1/31/26 18:33, Mark Millard wrote:
>> clang-scan-deps is not part of:
>> releng/13.5 or releng/14.3
>> clang-scan-deps is part of:
>> stable/13 , stable/14 , releng/15.0 , and main
>> clang-scan-deps will be part of:
>> releng/14.4
> 
> It's also part of devel/llvm19, hence my question: if I could force it to use LLVM from ports, that might be a dirty fix which could allow me to compile.
> (At this stage I don't care if this will be the ufficially accepted solution).

There is USES=llvm for this purpose, which will 1) make the port depend on the default llvm port, and 2) exports CC and CXX variables that point to the right compiler(s). See /usr/ports/Mk/Uses/llvm.mk for more information.

-Dimitry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.