svn commit: r472025 - head/lang/rust

Jean-Sébastien Pédron dumbbell at FreeBSD.org
Fri Jun 8 23:31:37 UTC 2018


Author: dumbbell
Date: Fri Jun  8 23:31:35 2018
New Revision: 472025
URL: https://svnweb.freebsd.org/changeset/ports/472025

Log:
  lang/rust: Add `make makesum-all-archs` target
  
  It is a helper to ease the generation of the `distinfo` file for all the
  architectures we support. It avoids the manual commands.

Modified:
  head/lang/rust/Makefile

Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile	Fri Jun  8 23:12:18 2018	(r472024)
+++ head/lang/rust/Makefile	Fri Jun  8 23:31:35 2018	(r472025)
@@ -333,6 +333,14 @@ do-test:
 		--config ./config.toml \
 		--jobs ${MAKE_JOBS_NUMBER}
 
+makesum-all-archs:
+	${MAKE} makesum ARCH=${ONLY_FOR_ARCHS:[1]}
+.for arch in ${ONLY_FOR_ARCHS:[2..-1]}
+	${MAKE} makesum ARCH=${arch} DISTINFO_FILE=${DISTINFO_FILE}.${arch}
+	${GREP} ${RUST_ARCH_${arch}} ${DISTINFO_FILE}.${arch} >> ${DISTINFO_FILE}
+	${RM} ${DISTINFO_FILE}.${arch}
+.endfor
+
 BOOTSTRAPS_SOURCE_PKG_FBSDVER=		10
 BOOTSTRAPS_SOURCE_PKG_FBSDVER_aarch64=	11
 BOOTSTRAPS_SOURCE_PKG_REV=


More information about the svn-ports-all mailing list