On Sep 10 2024, 08:29 +0000, Pietro Cerutti <[email protected]> wrote:
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?

I just realized that Uses/llvm.mk doesn't care / check what's already installed. The min / max modifiers are only used against LLVM_DEFAULT. Too bad :/

--
Pietro Cerutti
I have pledged to give 10% of income to effective charities
and invite you to join me - https://givingwhatwecan.org

Reply via email to