1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

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
This commit is contained in:
Mikael Urankar 2020-10-14 16:58:48 +00:00
parent 84fe90812c
commit 9afa07826e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=552346

View File

@ -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} && \