Date: Tue, 10 Sep 2024 09:01:28 +0000 From: Pietro Cerutti <gahr@FreeBSD.org> To: ports@FreeBSD.org Subject: Re: USES=llvm:min=17 wants 17 when 19 is installed Message-ID: <gtwk2acfbrfaqqdv6g6rhnbje2jk53bkc7ul64cnldoyzzc4hw@cshwohmrre3x> In-Reply-To: <2pfyhqaqbhi7wkl46qz3iwnhumpglbmzhpfj4g7wjocmuin6x7@lzg3exkn6fck> References: <2pfyhqaqbhi7wkl46qz3iwnhumpglbmzhpfj4g7wjocmuin6x7@lzg3exkn6fck>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 10 2024, 08:29 +0000, Pietro Cerutti <gahr@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gtwk2acfbrfaqqdv6g6rhnbje2jk53bkc7ul64cnldoyzzc4hw>