lang/rust: limit PORT_LLVM max to 19

LLVM 20 support currently only exists in trunk.
This commit is contained in:
Charlie Li 2025-03-27 03:41:44 -04:00
parent 8bd28408d5
commit 10b9f3f22d
No known key found for this signature in database
GPG key ID: 678F936058415CCA

View file

@ -64,7 +64,7 @@ DOCS_VARS= _RUST_BUILD_DOCS=true \
_RUST_TOOLS+=rustdoc
DOCS_VARS_OFF= _RUST_BUILD_DOCS=false
GDB_RUN_DEPENDS= ${LOCALBASE}/bin/gdb:devel/gdb
PORT_LLVM_USES= llvm:min=18,lib,noexport
PORT_LLVM_USES= llvm:min=18,max=19,lib,noexport
PORT_LLVM_MAKE_ENV= RUSTFLAGS="-Lnative=${LOCALBASE}/lib"
SOURCES_VARS= _COMPONENTS+=rust-src-${_PACKAGE_VERS} \
_RUST_TOOLS+=src