git: 60fafb924299 - main - lang/rust: fix typo uncaught from previous commit
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Oct 2023 15:35:43 UTC
The branch main has been updated by vishwin:
URL: https://cgit.FreeBSD.org/ports/commit/?id=60fafb924299ce300048c98f7f8da034eee0d27f
commit 60fafb924299ce300048c98f7f8da034eee0d27f
Author: Charlie Li <vishwin@FreeBSD.org>
AuthorDate: 2023-10-09 15:34:19 +0000
Commit: Charlie Li <vishwin@FreeBSD.org>
CommitDate: 2023-10-09 15:34:19 +0000
lang/rust: fix typo uncaught from previous commit
Use ${LLVM_VERSION} provided from USES=llvm for consistency
---
lang/rust/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 414c065264dc..f17d0d8e8aa6 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -166,7 +166,7 @@ post-patch:
post-patch-PORT_LLVM-on:
# WASM target hardcodes bundled lld
- @${REINPLACE_CMD} 's|"rust-lld"|"wasm-ld${LLVM_DEFAULT}"|' \
+ @${REINPLACE_CMD} 's|"rust-lld"|"wasm-ld${LLVM_VERSION}"|' \
${WRKSRC}/compiler/rustc_target/src/spec/wasm_base.rs
do-configure: