| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.191 2020/08/31 18:09:52 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.192 2020/09/20 22:30:07 gdt Exp $ |
2 | | | 2 | |
3 | DISTNAME= rustc-1.45.2-src | | 3 | DISTNAME= rustc-1.45.2-src |
4 | PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} | | 4 | PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} |
5 | PKGREVISION= 2 | | 5 | PKGREVISION= 2 |
6 | CATEGORIES= lang | | 6 | CATEGORIES= lang |
7 | MASTER_SITES= https://static.rust-lang.org/dist/ | | 7 | MASTER_SITES= https://static.rust-lang.org/dist/ |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://www.rust-lang.org/ | | 10 | HOMEPAGE= https://www.rust-lang.org/ |
11 | COMMENT= Safe, concurrent, practical language | | 11 | COMMENT= Safe, concurrent, practical language |
12 | LICENSE= mit OR apache-2.0 | | 12 | LICENSE= mit OR apache-2.0 |
13 | | | 13 | |
14 | CONFLICTS+= rust-bin-[0-9]* | | 14 | CONFLICTS+= rust-bin-[0-9]* |
| @@ -499,31 +499,32 @@ stage0-bootstrap: install | | | @@ -499,31 +499,32 @@ stage0-bootstrap: install |
499 | .endif | | 499 | .endif |
500 | | | 500 | |
501 | .include "options.mk" | | 501 | .include "options.mk" |
502 | | | 502 | |
503 | # These dependencies currently use the bundled sources as they require | | 503 | # These dependencies currently use the bundled sources as they require |
504 | # development features not yet available in released versions. | | 504 | # development features not yet available in released versions. |
505 | # | | 505 | # |
506 | #.include "../../devel/libgit2/buildlink3.mk" | | 506 | #.include "../../devel/libgit2/buildlink3.mk" |
507 | #.include "../../security/libssh2/buildlink3.mk" | | 507 | #.include "../../security/libssh2/buildlink3.mk" |
508 | #.include "../../www/http-parser/buildlink3.mk" | | 508 | #.include "../../www/http-parser/buildlink3.mk" |
509 | #.include "../../devel/jemalloc/buildlink3.mk" | | 509 | #.include "../../devel/jemalloc/buildlink3.mk" |
510 | | | 510 | |
511 | # Bootstrap built on 8.0, build on later version | | 511 | # Bootstrap built on 8.0, build on later version |
512 | # requires compat80 package | | 512 | # requires compat80 package. |
513 | # (I wish this worked on powerpc, but it doesn't since | | 513 | # (I wish this worked on powerpc, but it doesn't since |
514 | # I can't build with the internal LLVM, ref. | | 514 | # I can't build with the internal LLVM, ref. |
515 | # https://github.com/rust-lang/rust/issues/65862) | | 515 | # https://github.com/rust-lang/rust/issues/65862) |
516 | .if (${OPSYS} == "NetBSD") && \ | | 516 | .if (${OPSYS} == "NetBSD") && \ |
517 | ((${MACHINE_ARCH} == "i386") || \ | | 517 | ((${MACHINE_ARCH} == "i386") || \ |
| | | 518 | (${MACHINE_ARCH} == "sparc64") || \ |
518 | (${MACHINE_ARCH} == "powerpc")) \ | | 519 | (${MACHINE_ARCH} == "powerpc")) \ |
519 | && (empty(OS_VERSION:M[012345678].*) || \ | | 520 | && (empty(OS_VERSION:M[012345678].*) || \ |
520 | !empty(OS_VERSION:M8.99.*)) | | 521 | !empty(OS_VERSION:M8.99.*)) |
521 | DEPENDS+= compat80>=0:../../emulators/compat80 | | 522 | DEPENDS+= compat80>=0:../../emulators/compat80 |
522 | .endif | | 523 | .endif |
523 | | | 524 | |
524 | .include "../../devel/zlib/buildlink3.mk" | | 525 | .include "../../devel/zlib/buildlink3.mk" |
525 | .include "../../lang/python/tool.mk" | | 526 | .include "../../lang/python/tool.mk" |
526 | .include "../../security/openssl/buildlink3.mk" | | 527 | .include "../../security/openssl/buildlink3.mk" |
527 | BUILDLINK_API_DEPENDS.curl+= curl>=7.67.0 | | 528 | BUILDLINK_API_DEPENDS.curl+= curl>=7.67.0 |
528 | .include "../../www/curl/buildlink3.mk" | | 529 | .include "../../www/curl/buildlink3.mk" |
529 | .include "../../mk/bsd.pkg.mk" | | 530 | .include "../../mk/bsd.pkg.mk" |