Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2019 08:15:52 +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: r502939 - head/lang/rust
Message-ID:  <201905290815.x4T8Fqtm040126@repo.freebsd.org>

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



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