Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Oct 2023 15:35:43 GMT
From:      Charlie Li <vishwin@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 60fafb924299 - main - lang/rust: fix typo uncaught from previous commit
Message-ID:  <202310091535.399FZhCd005184@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202310091535.399FZhCd005184>