diff options
author | jperkin <jperkin@pkgsrc.org> | 2016-09-11 18:19:54 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2016-09-11 18:19:54 +0000 |
commit | cc6e257dfdcf5202defbc604d18d37200a34404c (patch) | |
tree | c183d70ad6014460c3d88ef46ff91f51cd2408d7 /lang/rust | |
parent | 1d65f7c84b6856bae51809bc9997f02e47e75b7d (diff) | |
download | pkgsrc-cc6e257dfdcf5202defbc604d18d37200a34404c.tar.gz |
Only try to fetch stage2 if it's available for the target.
Diffstat (limited to 'lang/rust')
-rw-r--r-- | lang/rust/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/rust/Makefile b/lang/rust/Makefile index ed2085eb0bc..0c7ceeae7f8 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2016/09/06 10:36:49 jperkin Exp $ +# $NetBSD: Makefile,v 1.2 2016/09/11 18:19:54 jperkin Exp $ DISTNAME= rustc-1.11.0-src PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} @@ -93,10 +93,12 @@ SITES.${RUST_STAGE2}= https://us-east.manta.joyent.com/pkgsrc/public/tmp/ NOT_FOR_PLATFORM+= ${MACHINE_PLATFORM} .endif +.if defined(RUST_ARCH) RUST_STAGE2_VER= 1.10.0 RUST_STAGE2?= rust-${RUST_STAGE2_VER}-${RUST_ARCH}.tar.gz SITES.${RUST_STAGE2}?= https://static.rust-lang.org/dist/ DISTFILES= ${DEFAULT_DISTFILES} ${RUST_STAGE2} +.endif PLIST_SRC= PLIST .if ${OPSYS} == "Darwin" |