lang/rust: Fix REINPLACE_CMD with PORT_LLVM option on

PR:		276033
Reported by:	Ale <discipline@tiscali.it>
This commit is contained in:
Mikael Urankar
2024-01-09 14:35:56 +01:00
parent b8d2a09d67
commit f5538d2b59

View File

@@ -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