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:   ryoon
Date:           Fri Oct 13 12:42:12 UTC 2017

Modified Files:
        pkgsrc/lang/rust: Makefile
        pkgsrc/lang/rust/files: config.toml

Log Message:
Do not hardcode RUST_ARCH


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/rust/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/rust/files/config.toml

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.13 pkgsrc/lang/rust/Makefile:1.14
--- pkgsrc/lang/rust/Makefile:1.13      Sat Oct  7 17:40:27 2017
+++ pkgsrc/lang/rust/Makefile   Fri Oct 13 12:42:12 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2017/10/07 17:40:27 maya Exp $
+# $NetBSD: Makefile,v 1.14 2017/10/13 12:42:12 ryoon Exp $
 
 DISTNAME=      rustc-1.20.0-src
 PKGNAME=       ${DISTNAME:S/rustc/rust/:S/-src//}
@@ -121,7 +121,7 @@ CARGO=                      ${WRKDIR}/rust-${RUST_STAGE0_VE
 SUBST_CLASSES+=                config
 SUBST_STAGE.config=    post-configure
 SUBST_FILES.config+=   config.toml
-SUBST_VARS.config+=    RUSTC CARGO PREFIX PYTHONBIN
+SUBST_VARS.config+=    RUSTC CARGO PREFIX PYTHONBIN RUST_ARCH
 
 do-configure:
        ${CP} ${FILESDIR}/config.toml ${WRKSRC}/config.toml

Index: pkgsrc/lang/rust/files/config.toml
diff -u pkgsrc/lang/rust/files/config.toml:1.2 pkgsrc/lang/rust/files/config.toml:1.3
--- pkgsrc/lang/rust/files/config.toml:1.2      Fri Oct 13 12:33:02 2017
+++ pkgsrc/lang/rust/files/config.toml  Fri Oct 13 12:42:12 2017
@@ -18,5 +18,5 @@ src-tarball = false
 [llvm]
 static-libstdcpp = false
 ninja = false
-[target.x86_64-unknown-netbsd]
+[target.@RUST_ARCH@]
 llvm-config = "@PREFIX@/bin/llvm-config"



Home | Main Index | Thread Index | Old Index