| @@ -1,33 +1,40 @@ | | | @@ -1,33 +1,40 @@ |
1 | # $NetBSD: Makefile,v 1.27 2020/09/03 17:06:29 wiz Exp $ | | 1 | # $NetBSD: Makefile,v 1.28 2020/09/06 21:54:32 wiz Exp $ |
2 | | | 2 | |
3 | DISTNAME= Coro-6.57 | | 3 | DISTNAME= Coro-6.57 |
4 | PKGNAME= p5-${DISTNAME} | | 4 | PKGNAME= p5-${DISTNAME} |
| | | 5 | PKGREVISION= 1 |
5 | CATEGORIES= devel perl5 | | 6 | CATEGORIES= devel perl5 |
6 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Coro/} | | 7 | MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Coro/} |
7 | | | 8 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://metacpan.org/release/Coro | | 10 | HOMEPAGE= https://metacpan.org/release/Coro |
10 | COMMENT= Perl module for threads | | 11 | COMMENT= Perl module for threads |
11 | LICENSE= ${PERL5_LICENSE} | | 12 | LICENSE= ${PERL5_LICENSE} |
12 | | | 13 | |
13 | DEPENDS+= p5-Canary-Stability-[0-9]*:../../devel/p5-Canary-Stability | | 14 | DEPENDS+= p5-Canary-Stability-[0-9]*:../../devel/p5-Canary-Stability |
14 | DEPENDS+= p5-common-sense-[0-9]*:../../devel/p5-common-sense | | 15 | DEPENDS+= p5-common-sense-[0-9]*:../../devel/p5-common-sense |
15 | DEPENDS+= p5-AnyEvent-[0-9]*:../../devel/p5-AnyEvent | | 16 | DEPENDS+= p5-AnyEvent-[0-9]*:../../devel/p5-AnyEvent |
16 | | | 17 | |
17 | MAKE_JOBS_SAFE= no | | 18 | MAKE_JOBS_SAFE= no |
18 | PERL5_PACKLIST= auto/Coro/.packlist | | 19 | PERL5_PACKLIST= auto/Coro/.packlist |
19 | REPLACE_PERL+= Coro/jit-amd64-unix.pl Coro/jit-x86-unix.pl | | 20 | REPLACE_PERL+= Coro/jit-amd64-unix.pl Coro/jit-x86-unix.pl |
20 | | | 21 | |
| | | 22 | .include "../../mk/bsd.prefs.mk" |
| | | 23 | |
| | | 24 | .if ${OPSYS} == "NetBSD" |
| | | 25 | MAKE_ENV+= CORO_JIT=n |
| | | 26 | .endif |
| | | 27 | |
21 | # test failures on NetBSD as of 6.57: | | 28 | # test failures on NetBSD as of 6.57: |
22 | # t/00_basic.t .... Failed 3/5 subtests | | 29 | # t/00_basic.t .... Failed 3/5 subtests |
23 | # t/01_unblock.t .. Failed 8/12 subtests | | 30 | # t/01_unblock.t .. Failed 8/12 subtests |
24 | # | | 31 | # |
25 | # Test Summary Report | | 32 | # Test Summary Report |
26 | # ------------------- | | 33 | # ------------------- |
27 | # t/00_basic.t (Wstat: 139 Tests: 2 Failed: 0) | | 34 | # t/00_basic.t (Wstat: 139 Tests: 2 Failed: 0) |
28 | # Non-zero wait status: 139 | | 35 | # Non-zero wait status: 139 |
29 | # Parse errors: Bad plan. You planned 5 tests but ran 2. | | 36 | # Parse errors: Bad plan. You planned 5 tests but ran 2. |
30 | # t/01_unblock.t (Wstat: 139 Tests: 4 Failed: 0) | | 37 | # t/01_unblock.t (Wstat: 139 Tests: 4 Failed: 0) |
31 | # Non-zero wait status: 139 | | 38 | # Non-zero wait status: 139 |
32 | # Parse errors: Bad plan. You planned 12 tests but ran 4. | | 39 | # Parse errors: Bad plan. You planned 12 tests but ran 4. |
33 | # Files=2, Tests=6, 1 wallclock secs ( 0.00 usr 0.02 sys + 0.04 cusr 0.04 csys = 0.10 CPU) | | 40 | # Files=2, Tests=6, 1 wallclock secs ( 0.00 usr 0.02 sys + 0.04 cusr 0.04 csys = 0.10 CPU) |