Re: USES=llvm:min=17 wants 17 when 19 is installed

From: Xavier Humbert <xavier_at_groumpf.org>
Date: Tue, 10 Sep 2024 09:39:48 UTC
Le 10/09/2024 11:36, Xavier Humbert a écrit :
> Le 10/09/2024 10:29, Pietro Cerutti a écrit :
>> The port lang/picolisp currently depends on LLVM 17. It works fine 
>> with newer versions of LLVM too, so in the process of updating it to 
>> a new version, I thought I'd update the llvm requirement.
>>
>> I currently have llvm-19 installed, and I am trying to modify the 
>> USES line to be USES=llvm:min=17,lib in the port's Makefile.
>> I would expect the port to be happy with version 19, but apparently 
>> it wants 17:
>>
>> $ pkg info -x llvm
>> llvm19-19.1.0.r4
>>
>> $ grep USES Makefile
>> USES=           gmake llvm:min=17,lib pkgconfig readline ssl tar:tgz
>>
>> # make all-depends-list | grep llvm
>> ports/devel/llvm17
>>
>> Any idea?
>>
> You may set
>     DEFAULT_VERSIONS+=llvm=19
> in make.conf
>
>
> Regards,
>
> Xavier
>
And use the variable ${LLVM_PORT:T} in the Makefile

Xavier

-- 
Xavier HUMBERT - Unix/Win/MacOSX Sysadmin/Network Engineer
https://www.amdh.fr