svn commit: r502939 - head/lang/rust

Tobias Kortkamp tobik at FreeBSD.org
Wed May 29 08:15:53 UTC 2019


Author: tobik
Date: Wed May 29 08:15:52 2019
New Revision: 502939
URL: https://svnweb.freebsd.org/changeset/ports/502939

Log:
  lang/rust: Overwrite makesum target instead of makesum-all-archs
  
  One less thing to remember during updates.

Modified:
  head/lang/rust/Makefile

Modified: head/lang/rust/Makefile
==============================================================================
--- head/lang/rust/Makefile	Wed May 29 08:12:21 2019	(r502938)
+++ head/lang/rust/Makefile	Wed May 29 08:15:52 2019	(r502939)
@@ -286,13 +286,15 @@ do-test:
 		--config ./config.toml \
 		--jobs ${MAKE_JOBS_NUMBER}
 
-makesum-all-archs:
-	${MAKE} makesum ARCH=${ONLY_FOR_ARCHS:O:[1]}
+.if !defined(_RUST_MAKESUM_GUARD)
+makesum:
+	${MAKE} -D_RUST_MAKESUM_GUARD makesum ARCH=${ONLY_FOR_ARCHS:O:[1]}
 .for arch in ${ONLY_FOR_ARCHS:O:[2..-1]}
-	${MAKE} makesum ARCH=${arch} DISTINFO_FILE=${DISTINFO_FILE}.${arch}
+	${MAKE} -D_RUST_MAKESUM_GUARD makesum ARCH=${arch} DISTINFO_FILE=${DISTINFO_FILE}.${arch}
 	${GREP} ${RUST_ARCH_${arch}} ${DISTINFO_FILE}.${arch} >> ${DISTINFO_FILE}
 	${RM} ${DISTINFO_FILE}.${arch}
 .endfor
+.endif
 
 BOOTSTRAPS_SOURCE_PKG_FBSDVER=		10
 BOOTSTRAPS_SOURCE_PKG_FBSDVER_aarch64=	11


More information about the svn-ports-all mailing list