pkgsrc/devel/p5-Coro/Makefile
schmonz 2dd4d5a742 Update to 6.39. From the changelog:
- work around more incompatible changes in 5.20.
- check that perl slots actually have enough space to hold
  interpreter variables.
- untested port to perl 5.19 (64 bit tmps indices) (reported
  by Andreas König).
- croak when cancel is called without a thread context.
- *sigh*, removed leftover debugging code from debugging a
  perl bug, of all things.
- semaphores would not clear the destroy hook when interrupted
  by ->throw, causing segfaults or worse.
- ->throw on a thread waiting for a semaphore did not acquire
  the semaphore, but also didn't wake up other waiters,
  possibly causing a deadlock.
- "FATAL: $Coro::IDLE blocked itself" will now use Carp::confess
  to report a full stacktrace, which should help find out
  where the actual call is.
- "atomically" destroy data in slf_destroy, because it is
  the right thing to do, just in case.
- disable ecb.h libm dependency, to compile on ancient systems
  or under adverse conditions.
- do not crash when freeing padlists with holes (in 5.18).
- tentative SVt_BIND 5.19 port/fix.
- use a new algorithm to derive padlists for perl 5.18. The old
  one could lead to 0-pointer accesses inside perl (reported
  by Darin McBride).

Not a leaf, but this update should fix a handful of depending
packages, and at least one of those passes its tests against this
version.
2014-06-25 22:30:54 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2014/06/25 22:30:54 schmonz Exp $
#
DISTNAME= Coro-6.39
PKGNAME= p5-${DISTNAME}
CATEGORIES= parallel
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Coro/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Coro/
COMMENT= Perl 5 module providing cooperative threads
LICENSE= ${PERL5_LICENSE}
REPLACE_PERL= Coro/jit-amd64-unix.pl Coro/jit-x86-unix.pl
USE_LANGUAGES= c
PERL5_PACKLIST= auto/Coro/.packlist
DEPENDS+= p5-AnyEvent-AIO>=1:../../devel/p5-AnyEvent-AIO
DEPENDS+= p5-AnyEvent-BDB>=1:../../databases/p5-AnyEvent-BDB
DEPENDS+= p5-BDB-[0-9]*:../../databases/p5-BDB
DEPENDS+= p5-IO-AIO>=3.1:../../devel/p5-IO-AIO
DEPENDS+= p5-AnyEvent>=5:../../devel/p5-AnyEvent
DEPENDS+= p5-Guard>=0.5:../../devel/p5-Guard
DEPENDS+= p5-common-sense-[0-9]*:../../devel/p5-common-sense
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
# Only tested on NetBSD/i386 5.0.2
MAKE_ENV+= CORO_INTERFACE=p # pthread implementation
.endif
.include "../../devel/p5-Event/buildlink3.mk"
.include "../../devel/p5-EV/buildlink3.mk"
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"