Mon Nov 20 16:02:59 2017 UTC ()
Fails with Python > 2.7 - add PYTHON_VERSIONS_ACCEPTED=27


(abs)
diff -r1.18 -r1.19 pkgsrc/lang/rust/Makefile

cvs diff -r1.18 -r1.19 pkgsrc/lang/rust/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/rust/Makefile 2017/11/16 19:48:24 1.18
+++ pkgsrc/lang/rust/Makefile 2017/11/20 16:02:59 1.19
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.18 2017/11/16 19:48:24 jperkin Exp $ 1# $NetBSD: Makefile,v 1.19 2017/11/20 16:02:59 abs Exp $
2 2
3DISTNAME= rustc-1.21.0-src 3DISTNAME= rustc-1.21.0-src
4PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} 4PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//}
5CATEGORIES= lang 5CATEGORIES= lang
6MASTER_SITES= http://static.rust-lang.org/dist/ 6MASTER_SITES= http://static.rust-lang.org/dist/
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://www.rust-lang.org/ 9HOMEPAGE= https://www.rust-lang.org/
10COMMENT= Safe, concurrent, practical language 10COMMENT= Safe, concurrent, practical language
11LICENSE= mit OR apache-2.0 11LICENSE= mit OR apache-2.0
12 12
13USE_GCC_RUNTIME= yes 13USE_GCC_RUNTIME= yes
14USE_LANGUAGES= c c++11 14USE_LANGUAGES= c c++11
@@ -26,26 +26,28 @@ CONFIGURE_ARGS+= --local-rust-root=${RUS @@ -26,26 +26,28 @@ CONFIGURE_ARGS+= --local-rust-root=${RUS
26CONFIGURE_ARGS+= --enable-extended # Build and install cargo too. 26CONFIGURE_ARGS+= --enable-extended # Build and install cargo too.
27CONFIGURE_ARGS+= --enable-rpath 27CONFIGURE_ARGS+= --enable-rpath
28CONFIGURE_ARGS+= --disable-codegen-tests 28CONFIGURE_ARGS+= --disable-codegen-tests
29CONFIGURE_ARGS+= --disable-dist-src 29CONFIGURE_ARGS+= --disable-dist-src
30CONFIGURE_ARGS+= --disable-llvm-static-stdcpp 30CONFIGURE_ARGS+= --disable-llvm-static-stdcpp
31CONFIGURE_ARGS+= --disable-ninja 31CONFIGURE_ARGS+= --disable-ninja
32 32
33# This should allow us to perform "offline" builds (so cargo doesn't fetch 33# This should allow us to perform "offline" builds (so cargo doesn't fetch
34# dependencies during the build stage) but this isn't hooked up yet. 34# dependencies during the build stage) but this isn't hooked up yet.
35CONFIGURE_ARGS+= --enable-vendor 35CONFIGURE_ARGS+= --enable-vendor
36 36
37UNLIMIT_RESOURCES+= cputime 37UNLIMIT_RESOURCES+= cputime
38 38
 39PYTHON_VERSIONS_ACCEPTED= 27
 40
39TEST_TARGET= check 41TEST_TARGET= check
40 42
41# bin/* lib/*, but names vary 43# bin/* lib/*, but names vary
42CHECK_RELRO_SUPPORTED= no 44CHECK_RELRO_SUPPORTED= no
43CHECK_SSP_SUPPORTED= no 45CHECK_SSP_SUPPORTED= no
44 46
45# Required for LLVM (-std=c++11) 47# Required for LLVM (-std=c++11)
46GCC_REQD+= 4.8 48GCC_REQD+= 4.8
47 49
48.include "../../mk/bsd.prefs.mk" 50.include "../../mk/bsd.prefs.mk"
49 51
50# 52#
51# Under NetBSD, do not use DT_RUNPATH 53# Under NetBSD, do not use DT_RUNPATH