| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.284 2023/06/19 14:46:47 bsiegert Exp $ | | 1 | # $NetBSD: Makefile,v 1.285 2023/06/30 12:38:40 mef Exp $ |
2 | | | 2 | |
3 | DISTNAME= rustc-1.69.0-src | | 3 | DISTNAME= rustc-1.69.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]* |
14 | | | 14 | |
| @@ -165,26 +165,30 @@ CHECK_INTERPRETER_SKIP+= lib/rustlib/src | | | @@ -165,26 +165,30 @@ CHECK_INTERPRETER_SKIP+= lib/rustlib/src |
165 | # http://mail-index.netbsd.org/source-changes/2020/04/19/msg116337.html | | 165 | # http://mail-index.netbsd.org/source-changes/2020/04/19/msg116337.html |
166 | # These were pulled up to netbsd-9 on 2020-05-13: | | 166 | # These were pulled up to netbsd-9 on 2020-05-13: |
167 | # http://releng.netbsd.org/cgi-bin/req-9.cgi?show=907 | | 167 | # http://releng.netbsd.org/cgi-bin/req-9.cgi?show=907 |
168 | # This has not been pulled up to netbsd-8 | | 168 | # This has not been pulled up to netbsd-8 |
169 | # \todo Explain if it's not applicable, shouldn't be pulled up, should be | | 169 | # \todo Explain if it's not applicable, shouldn't be pulled up, should be |
170 | # but hasn't, is too hard, etc. | | 170 | # but hasn't, is too hard, etc. |
171 | # | | 171 | # |
172 | # On pkgbuild for 2020Q1 9.0_RELEASE amd64, rust did not build despite | | 172 | # On pkgbuild for 2020Q1 9.0_RELEASE amd64, rust did not build despite |
173 | # MAKE_JOBS_SAFE=no, but setting MAKE_JOBS=1 resulted in success. (No | | 173 | # MAKE_JOBS_SAFE=no, but setting MAKE_JOBS=1 resulted in success. (No |
174 | # PR is open for this.) \todo Understand and fix. | | 174 | # PR is open for this.) \todo Understand and fix. |
175 | # | | 175 | # |
176 | # If we aren't on 9-current, and are on 8.x or 9.x, avoid parallel. | | 176 | # If we aren't on 9-current, and are on 8.x or 9.x, avoid parallel. |
177 | # \todo Consider avoiding setting this on netbsd-9 past the fix. | | 177 | # \todo Consider avoiding setting this on netbsd-9 past the fix. |
| | | 178 | # Release 9.x and 9.1 or later is OK |
| | | 179 | . if ${OPSYS} == "NetBSD" && 090099 < ${OPSYS_VERSION} && ${OPSYS_VERSION} < 090900 |
| | | 180 | MAKE_JOBS_SAFE?= yes |
| | | 181 | . endif |
178 | . if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099957 | | 182 | . if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 099957 |
179 | MAKE_JOBS_SAFE?= no | | 183 | MAKE_JOBS_SAFE?= no |
180 | . endif | | 184 | . endif |
181 | | | 185 | |
182 | # Open PRs | | 186 | # Open PRs |
183 | # | | 187 | # |
184 | # Broken package with PREFIX not /usr/pkg: | | 188 | # Broken package with PREFIX not /usr/pkg: |
185 | # http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54453 | | 189 | # http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54453 |
186 | # | | 190 | # |
187 | | | 191 | |
188 | .endif | | 192 | .endif |
189 | | | 193 | |
190 | # | | 194 | # |