Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Dec 2019 18:36:53 +0000 (UTC)
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r518792 - head/lang/rust
Message-ID:  <201912011836.xB1Iarxo045833@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912011836.xB1Iarxo045833>