svn commit: r552346 - head/lang/rust
Mikael Urankar
mikael at FreeBSD.org
Wed Oct 14 16:58:48 UTC 2020
Author: mikael
Date: Wed Oct 14 16:58:48 2020
New Revision: 552346
URL: https://svnweb.freebsd.org/changeset/ports/552346
Log:
lang/rust: restore REINPLACE_CMD for ppc64-elfv1
This patch is needed for ppc64-elfv1 and we don't build rust-nightly on tier2 arch
Reported by: ashish
Modified:
head/lang/rust/Makefile
Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile Wed Oct 14 16:56:08 2020 (r552345)
+++ head/lang/rust/Makefile Wed Oct 14 16:58:48 2020 (r552346)
@@ -177,6 +177,12 @@ do-configure:
.endif
@${REINPLACE_CMD} 's,%CC%,${CC},g' \
${WRKSRC}/src/bootstrap/native.rs
+# src/librustc_llvm has moved to compiler/rustc_llvm in nightly
+# this reinplace_cmd is used for ppc64-elfv1
+.if !defined(NIGHTLY_DATE)
+ @${REINPLACE_CMD} 's,%CC%,${CC},g' \
+ ${WRKSRC}/src/librustc_llvm/build.rs
+.endif
do-build:
@cd ${WRKSRC} && \
More information about the svn-ports-all
mailing list