| @@ -1,26 +1,26 @@ | | | @@ -1,26 +1,26 @@ |
1 | # $NetBSD: Makefile,v 1.273 2022/11/15 23:11:14 he Exp $ | | 1 | # $NetBSD: Makefile,v 1.274 2022/11/16 08:36:34 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= rustc-1.64.0-src | | 3 | DISTNAME= rustc-1.64.0-src |
4 | PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} | | 4 | PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} |
5 | CATEGORIES= lang | | 5 | CATEGORIES= lang |
6 | MASTER_SITES= https://static.rust-lang.org/dist/ | | 6 | MASTER_SITES= https://static.rust-lang.org/dist/ |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://www.rust-lang.org/ | | 9 | HOMEPAGE= https://www.rust-lang.org/ |
10 | COMMENT= Safe, concurrent, practical language | | 10 | COMMENT= Safe, concurrent, practical language |
11 | LICENSE= mit OR apache-2.0 | | 11 | LICENSE= mit OR apache-2.0 |
12 | | | 12 | |
13 | CONFLICTS+= rust-bin-[0-9]* | | 13 | CONFLICTS+= rust-bin-[0-9]* rust-src-[0-9]* rust-analyzer-[0-9]* |
14 | | | 14 | |
15 | # LLVM uses gcc7, follow suit. Also, uses -std=c++14 | | 15 | # LLVM uses gcc7, follow suit. Also, uses -std=c++14 |
16 | GCC_REQD+= 7 | | 16 | GCC_REQD+= 7 |
17 | | | 17 | |
18 | USE_GCC_RUNTIME= yes | | 18 | USE_GCC_RUNTIME= yes |
19 | USE_LANGUAGES= c c++11 | | 19 | USE_LANGUAGES= c c++11 |
20 | USE_LIBTOOL= yes | | 20 | USE_LIBTOOL= yes |
21 | USE_TOOLS+= bash grep gmake perl:build pkg-config | | 21 | USE_TOOLS+= bash grep gmake perl:build pkg-config |
22 | | | 22 | |
23 | # The NetBSD bootstraps are built for NetBSD 8 (because rust doesn't | | 23 | # The NetBSD bootstraps are built for NetBSD 8 (because rust doesn't |
24 | # build on 7). Mark earlier versions as broken. | | 24 | # build on 7). Mark earlier versions as broken. |
25 | BROKEN_ON_PLATFORM+= NetBSD-[1-7].*-* | | 25 | BROKEN_ON_PLATFORM+= NetBSD-[1-7].*-* |
26 | # Bootstrap is built for NetBSD 9.x on these platforms: | | 26 | # Bootstrap is built for NetBSD 9.x on these platforms: |