svn commit: r518792 - head/lang/rust
Tobias Kortkamp
tobik at FreeBSD.org
Sun Dec 1 18:36:54 UTC 2019
Author: tobik
Date: Sun Dec 1 18:36:53 2019
New Revision: 518792
URL: https://svnweb.freebsd.org/changeset/ports/518792
Log:
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
Modified:
head/lang/rust/Makefile
Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile Sun Dec 1 17:57:20 2019 (r518791)
+++ head/lang/rust/Makefile Sun Dec 1 18:36:53 2019 (r518792)
@@ -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
More information about the svn-ports-all
mailing list