pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Sun Sep 11 18:19:54 UTC 2016

Modified Files:
        pkgsrc/lang/rust: Makefile

Log Message:
Only try to fetch stage2 if it's available for the target.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/rust/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/rust/Makefile
diff -u pkgsrc/lang/rust/Makefile:1.1 pkgsrc/lang/rust/Makefile:1.2
--- pkgsrc/lang/rust/Makefile:1.1       Tue Sep  6 10:36:49 2016
+++ pkgsrc/lang/rust/Makefile   Sun Sep 11 18:19:54 2016
@@ -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.ma
 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"



Home | Main Index | Thread Index | Old Index