mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
lang/rust: Respect ONLY_FOR_ARCHS in makesum
lang/rust-nightly does not have powerpc64 in it and unconditionally running makesum for the powerpc64 ELFv2 bootstraps breaks there. PR: 242342 Reported by: jbeich
This commit is contained in:
parent
382a1957e9
commit
2436e87863
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518792
@ -254,9 +254,11 @@ makesum:
|
||||
.endfor
|
||||
${RM} ${DISTINFO_FILE}.${arch}
|
||||
.endfor
|
||||
.if ${ONLY_FOR_ARCHS:Mpowerpc64}
|
||||
${MAKE} -D_RUST_MAKESUM_GUARD makesum PPC_ABI=ELFv2 ARCH=powerpc64 DISTINFO_FILE=${DISTINFO_FILE}.powerpc64-elfv2
|
||||
${GREP} ${_RUST_ARCH_powerpc64:Upowerpc64} ${DISTINFO_FILE}.powerpc64-elfv2 >> ${DISTINFO_FILE}.tmp
|
||||
${RM} ${DISTINFO_FILE}.powerpc64-elfv2
|
||||
.endif
|
||||
${AWK} '!seen[$$0]++' ${DISTINFO_FILE}.tmp > ${DISTINFO_FILE}
|
||||
${RM} ${DISTINFO_FILE}.tmp
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user