git: 7686fc035435 - main - lang/rust: switch back to base LLVM on powerpc

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 29 Mar 2022 06:25:11 UTC
The branch main has been updated by pkubaj:

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

commit 7686fc035435ab069cec46152a83282cdc117a9e
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2022-03-29 06:14:13 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2022-03-29 06:14:13 +0000

    lang/rust: switch back to base LLVM on powerpc
    
    Base LLVM in 13.1 now can build Rust.
---
 lang/rust/Makefile | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/lang/rust/Makefile b/lang/rust/Makefile
index 8d4d53160eb2..17793efc96b7 100644
--- a/lang/rust/Makefile
+++ b/lang/rust/Makefile
@@ -95,14 +95,7 @@ IGNORE=		is only for FreeBSD
 
 .if ${ARCH} == powerpc
 # bfd to link rustc_driver; lld currently can't
-BUILD_DEPENDS+=	ld.bfd:devel/binutils \
-		clang12:devel/llvm12
-BINARY_ALIAS+=	cpp=${LOCALBASE}/bin/clang-cpp12 \
-		cc=${LOCALBASE}/bin/clang12 \
-		c++=${LOCALBASE}/bin/clang++12 \
-		ar=${LOCALBASE}/bin/llvm-ar12 \
-		nm=${LOCALBASE}/bin/llvm-nm12 \
-		ld=${LOCALBASE}/bin/ld.lld12
+BUILD_DEPENDS+=	ld.bfd:devel/binutils
 .else
 MAKE_ENV+=	RUST_BACKTRACE=1
 # rls needs 64-bit atomics