blob: 2fe7878232f9b520dd3728e7fc50ece2e51ff20c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Created by: Jean-Sébastien Pédron <dumbbell@FreeBSD.org>
# $FreeBSD$
PORTVERSION= 1.39.0.${NIGHTLY_DATE:C,-,,g}
# Always set PORTREVISION explicitly as otherwise it is inherited from lang/rust
PORTREVISION= 0
PKGNAMESUFFIX= -nightly
DISTNAME= rustc-nightly-src
MASTERDIR= ${.CURDIR}/../rust
PATCHDIR= ${.CURDIR}/files
DISTINFO_FILE= ${.CURDIR}/distinfo
CONFLICTS_INSTALL= rust
# Which source to pull:
# https://static.rust-lang.org/dist/${NIGHTLY_DATE}/rustc-nightly-src.tar.gz
# https://static.rust-lang.org/dist/channel-rust-nightly.toml
NIGHTLY_DATE= 2019-08-25
NIGHTLY_SUBDIR= ${NIGHTLY_DATE}/
# See WRKSRC/src/stage0.txt for this date
BOOTSTRAPS_DATE= 2019-08-13
RUST_BOOTSTRAP_VERSION= beta
CARGO_BOOTSTRAP_VERSION= beta
CARGO_VENDOR_DIR= ${WRKSRC}/vendor
# Other bootstraps aren't provided by upstream yet
ONLY_FOR_ARCHS= amd64 i386
post-configure: nightly-post-configure
nightly-post-configure:
# Don't abort if optional tools fail to build
# https://github.com/rust-lang/rust/commit/53254a888b42
@${ECHO_CMD} 'missing-tools = true' >>${WRKSRC}/config.toml
.include "${MASTERDIR}/Makefile"
|