| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.193 2020/09/20 22:50:21 gdt Exp $ | | 1 | # $NetBSD: Makefile,v 1.194 2020/09/24 11:01:51 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]* |
| @@ -518,23 +518,24 @@ stage0-bootstrap: install | | | @@ -518,23 +518,24 @@ stage0-bootstrap: install |
518 | ((${MACHINE_ARCH} == "i386") || \ | | 518 | ((${MACHINE_ARCH} == "i386") || \ |
519 | (${MACHINE_ARCH} == "sparc64") || \ | | 519 | (${MACHINE_ARCH} == "sparc64") || \ |
520 | (${MACHINE_ARCH} == "powerpc")) \ | | 520 | (${MACHINE_ARCH} == "powerpc")) \ |
521 | && (empty(OS_VERSION:M[012345678].*) || \ | | 521 | && (empty(OS_VERSION:M[012345678].*) || \ |
522 | !empty(OS_VERSION:M8.99.*)) | | 522 | !empty(OS_VERSION:M8.99.*)) |
523 | # Bootstrap kits are built on 8.0, so that a single bootstrap can run | | 523 | # Bootstrap kits are built on 8.0, so that a single bootstrap can run |
524 | # on multiple systems. Thus later versions need the compat80 package. | | 524 | # on multiple systems. Thus later versions need the compat80 package. |
525 | # \todo Explain why this is limited to a small list of architectures, | | 525 | # \todo Explain why this is limited to a small list of architectures, |
526 | # and in particular why not x86_64. | | 526 | # and in particular why not x86_64. |
527 | DEPENDS+= compat80>=0:../../emulators/compat80 | | 527 | DEPENDS+= compat80>=0:../../emulators/compat80 |
528 | # Bootstrap kits use openssl, which on NetBSD 8 comes from pkgsrc. | | 528 | # Bootstrap kits use openssl, which on NetBSD 8 comes from pkgsrc. |
529 | # Therefore the pkgsrc openssl libs need to be present as well. | | 529 | # Therefore the pkgsrc openssl libs need to be present as well. |
530 | # Observed on i386, and presumed true on the other | | 530 | # Observed on i386, and presumed true on the other |
531 | # bootstrap-built-for-8 systems. | | 531 | # bootstrap-built-for-8 systems. It also is linked against by cargo, |
532 | BUILD_DEPENDS+= openssl>1.1:../../security/openssl | | 532 | # so it must be a run-time dependency as well. |
| | | 533 | .include "../../security/openssl/buildlink3.mk" |
533 | .endif | | 534 | .endif |
534 | | | 535 | |
535 | .include "../../devel/zlib/buildlink3.mk" | | 536 | .include "../../devel/zlib/buildlink3.mk" |
536 | .include "../../lang/python/tool.mk" | | 537 | .include "../../lang/python/tool.mk" |
537 | .include "../../security/openssl/buildlink3.mk" | | 538 | .include "../../security/openssl/buildlink3.mk" |
538 | BUILDLINK_API_DEPENDS.curl+= curl>=7.67.0 | | 539 | BUILDLINK_API_DEPENDS.curl+= curl>=7.67.0 |
539 | .include "../../www/curl/buildlink3.mk" | | 540 | .include "../../www/curl/buildlink3.mk" |
540 | .include "../../mk/bsd.pkg.mk" | | 541 | .include "../../mk/bsd.pkg.mk" |