aboutsummaryrefslogtreecommitdiff
path: root/lang/rust-bootstrap
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2021-06-04 08:58:03 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2021-06-06 08:09:01 +0000
commitaa61f25f2a73ab7ed2bdc455c3d19f2f73222cd8 (patch)
tree02d296de4219df6bfcdaa26854b85af3dfa05b1c /lang/rust-bootstrap
parent6f5f830c0e9b9103c786448e10f388ed5e77409c (diff)
Diffstat (limited to 'lang/rust-bootstrap')
-rw-r--r--lang/rust-bootstrap/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/lang/rust-bootstrap/Makefile b/lang/rust-bootstrap/Makefile
index 476a53edb84c..15521fd1091e 100644
--- a/lang/rust-bootstrap/Makefile
+++ b/lang/rust-bootstrap/Makefile
@@ -5,7 +5,7 @@ PORTNAME= rust
PORTVERSION= 1.52.1
PORTREVISION= 1
CATEGORIES= lang
-MASTER_SITES?= https://static.rust-lang.org/dist/:rust \
+MASTER_SITES= https://static.rust-lang.org/dist/:rust \
LOCAL/tobik/rust:${FLAVOR} \
https://download.freebsd.org/ftp/${_RUST_FBSD_SUBDIR_${FLAVOR}}/:${FLAVOR}
# http://pkg.freebsd.org/FreeBSD:12:powerpc64/quarterly/All/gcc9-9.3.0_1.txz?dummy=/:powerpc64_gcc
@@ -128,8 +128,7 @@ EXTRA_PATCHES+= ${PATCHDIR}/${FLAVOR:S/_/-/}
.endif
.if make(distclean) || make(makesum)
-MASTER_SITES:= ${FLAVORS:@_flavor@${:!${SETENV} FLAVOR=${_flavor} ${MAKE} -VMASTER_SITES!}@:O:u}
-.export MASTER_SITES
+.MAKEFLAGS: MASTER_SITES="${FLAVORS:@_flavor@${:!${SETENV} FLAVOR=${_flavor} ${MAKE} -VMASTER_SITES!}@:O:u:q}" # PR 249537
DISTFILES:= ${DISTFILES:M*\:rust} \
${FLAVORS:O:@_flavor@${:!${SETENV} FLAVOR=${_flavor} ${MAKE} -V'DISTFILES:N*\:rust'!}@}
.endif