aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Urankar <mikael@FreeBSD.org>2024-01-09 13:35:56 +0000
committerMikael Urankar <mikael@FreeBSD.org>2024-01-09 14:22:25 +0000
commitf5538d2b59e2455025ff118f8a7598d8a9211d83 (patch)
treef5581ee53b6b143d3240b235d20cbfbd57760e2a
parentb8d2a09d67234b677fe7a8328959a9cd05277fff (diff)
downloadports-f5538d2b59e2455025ff118f8a7598d8a9211d83.tar.gz
ports-f5538d2b59e2455025ff118f8a7598d8a9211d83.zip
lang/rust: Fix REINPLACE_CMD with PORT_LLVM option on
PR: 276033 Reported by: Ale <discipline@tiscali.it>
-rw-r--r--lang/rust/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 878032a2d913..2b5cba0e1ae8 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -159,7 +159,7 @@ post-patch:
post-patch-PORT_LLVM-on:
# WASM target hardcodes bundled lld
@${REINPLACE_CMD} 's|"rust-lld"|"wasm-ld${LLVM_VERSION}"|' \
- ${WRKSRC}/compiler/rustc_target/src/spec/wasm_base.rs
+ ${WRKSRC}/compiler/rustc_target/src/spec/base/wasm.rs
do-configure:
# Check that the running kernel has COMPAT_FREEBSD11 required by lang/rust post-ino64