Re: git: 6d2a9d6effb7 - main - devel/edi: add an option to build the port against libclang
Date: Sat, 11 Feb 2023 15:05:47 UTC
On Sat, Feb 11, 2023 at 01:37:58PM +0100, Jan Beich wrote: > Alexey Dokuchaev <danfe@FreeBSD.org> writes: > ... > > +LIBCLANG_LIB_DEPENDS= libclang.so:devel/llvm${LLVM_VERSION} > > +LIBCLANG_MESON_ON= -Dlibclang-libdir=${LOCALBASE}/llvm${LLVM_VERSION}/lib \ > > + -Dlibclang-headerdir=${LOCALBASE}/llvm${LLVM_VERSION}/include > > +LIBCLANG_MESON_OFF= -Dlibclang=false > > + > > +LLVM_VERSION?= ${LLVM_DEFAULT} > > Can be simplified via USES=llvm e.g., [...] Yeah, I've thought of it, but reckoned it's less transparent while spelled out in roughly the same number of lines. I've used USES=llvm before, but was told that it's still under development. Maybe I'll revisit this once it stabilizes. ./danfe