svn commit: r539571 - in head/lang/rust: . files/powerpc64-elfv2

Piotr Kubaj pkubaj at FreeBSD.org
Thu Jun 18 20:36:09 UTC 2020


Author: pkubaj
Date: Thu Jun 18 20:36:08 2020
New Revision: 539571
URL: https://svnweb.freebsd.org/changeset/ports/539571

Log:
  lang/rust: build with Clang on powerpc64 elfv2
  
  It looks like the LLVM bug that made Rust fail to build is gone (or Rust just doesn't trigger it anymore). I tested that Rust itself and Firefox build.
  
  Bump PORTREVISION because of dependency change.
  
  PR:		247388
  Approved by:	tobik (maintainer)

Deleted:
  head/lang/rust/files/powerpc64-elfv2/patch-src_bootstrap_native.rs
  head/lang/rust/files/powerpc64-elfv2/patch-src_librustc__llvm_build.rs
Modified:
  head/lang/rust/Makefile

Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile	Thu Jun 18 20:34:16 2020	(r539570)
+++ head/lang/rust/Makefile	Thu Jun 18 20:36:08 2020	(r539571)
@@ -3,7 +3,7 @@
 
 PORTNAME=	rust
 PORTVERSION?=	1.44.1
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	lang
 MASTER_SITES=	https://static.rust-lang.org/dist/:src \
 		LOCAL/tobik/rust:bootstrap \
@@ -87,7 +87,7 @@ _CARGO_BOOTSTRAP=	${BOOTSTRAPS_DATE_${ARCH}:U${BOOTSTR
 EXTRA_PATCHES+=	${PATCHDIR}/${ARCH}${BOOTSTRAPS_SUFFIX}
 .endif
 
-.if ${ARCH} == powerpc64
+.if defined(PPC_ABI) && ${PPC_ABI} == ELFv1
 # The bootstrap is hardcoded to use gcc9
 # but we can build with a newer or older compiler as provided by USE_GCC=yes
 BUILD_DEPENDS+=	gcc9:lang/gcc9


More information about the svn-ports-all mailing list