| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.142 2020/02/22 21:47:06 he Exp $ | | 1 | # $NetBSD: Makefile,v 1.143 2020/02/22 22:06:45 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= rustc-1.41.0-src | | 3 | DISTNAME= rustc-1.41.0-src |
4 | PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} | | 4 | PKGNAME= ${DISTNAME:S/rustc/rust/:S/-src//} |
5 | PKGREVISION= 1 | | 5 | PKGREVISION= 1 |
6 | CATEGORIES= lang | | 6 | CATEGORIES= lang |
7 | MASTER_SITES= http://static.rust-lang.org/dist/ | | 7 | MASTER_SITES= http://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 | USE_GCC_RUNTIME= yes | | 14 | USE_GCC_RUNTIME= yes |
| @@ -451,27 +451,27 @@ stage0-bootstrap: install | | | @@ -451,27 +451,27 @@ stage0-bootstrap: install |
451 | ${GTAR} -zcf ${PKGNAME_NOREV}-${RUST_ARCH}.tar.gz ${PKGNAME_NOREV}-${RUST_ARCH}) | | 451 | ${GTAR} -zcf ${PKGNAME_NOREV}-${RUST_ARCH}.tar.gz ${PKGNAME_NOREV}-${RUST_ARCH}) |
452 | .endif | | 452 | .endif |
453 | | | 453 | |
454 | .include "options.mk" | | 454 | .include "options.mk" |
455 | | | 455 | |
456 | # These dependencies currently use the bundled sources as they require | | 456 | # These dependencies currently use the bundled sources as they require |
457 | # development features not yet available in released versions. | | 457 | # development features not yet available in released versions. |
458 | # | | 458 | # |
459 | #.include "../../devel/libgit2/buildlink3.mk" | | 459 | #.include "../../devel/libgit2/buildlink3.mk" |
460 | #.include "../../security/libssh2/buildlink3.mk" | | 460 | #.include "../../security/libssh2/buildlink3.mk" |
461 | #.include "../../www/http-parser/buildlink3.mk" | | 461 | #.include "../../www/http-parser/buildlink3.mk" |
462 | #.include "../../devel/jemalloc/buildlink3.mk" | | 462 | #.include "../../devel/jemalloc/buildlink3.mk" |
463 | | | 463 | |
464 | # Bootstrap built on 8.0, built on later versoin | | 464 | # Bootstrap built on 8.0, build on later version |
465 | # requires compat80 package | | 465 | # requires compat80 package |
466 | # (I wish this worked on powerpc, but it doesn't since | | 466 | # (I wish this worked on powerpc, but it doesn't since |
467 | # I can't build with the internal LLVM, ref. | | 467 | # I can't build with the internal LLVM, ref. |
468 | # https://github.com/rust-lang/rust/issues/65862) | | 468 | # https://github.com/rust-lang/rust/issues/65862) |
469 | .if (${OPSYS} == "NetBSD") && \ | | 469 | .if (${OPSYS} == "NetBSD") && \ |
470 | ((${MACHINE_ARCH} == "i386") || \ | | 470 | ((${MACHINE_ARCH} == "i386") || \ |
471 | (${MACHINE_ARCH} == "powerpc")) \ | | 471 | (${MACHINE_ARCH} == "powerpc")) \ |
472 | && (empty(OS_VERSION:M[012345678].*) || \ | | 472 | && (empty(OS_VERSION:M[012345678].*) || \ |
473 | !empty(OS_VERSION:M8.99.*)) | | 473 | !empty(OS_VERSION:M8.99.*)) |
474 | DEPENDS+= compat80>=0:../../emulators/compat80/ | | 474 | DEPENDS+= compat80>=0:../../emulators/compat80/ |
475 | .endif | | 475 | .endif |
476 | | | 476 | |
477 | .include "../../devel/zlib/buildlink3.mk" | | 477 | .include "../../devel/zlib/buildlink3.mk" |