git: f5538d2b59e2 - main - lang/rust: Fix REINPLACE_CMD with PORT_LLVM option on

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Tue, 09 Jan 2024 14:22:31 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f5538d2b59e2455025ff118f8a7598d8a9211d83

commit f5538d2b59e2455025ff118f8a7598d8a9211d83
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2024-01-09 13:35:56 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2024-01-09 14:22:25 +0000

    lang/rust: Fix REINPLACE_CMD with PORT_LLVM option on
    
    PR:             276033
    Reported by:    Ale <discipline@tiscali.it>
---
 lang/rust/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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