pkgsrc/devel/p5-Coro/Makefile
obache a1a10a43f3 Update p5-Coro to 6.31.
Revision history for Perl extension Coro.

6.31 Thu May  9 07:39:48 CEST 2013
	- Coro::AIO requests would crash if the thread was ready'd
          while the request was ongoing.

6.29 Wed May  8 02:55:18 CEST 2013
	- when an on_destroy handler destructs the coro currently being
          destructed a perl scalar could be accessed after being freed,
          likely causing a crash.

6.28 Wed Mar  6 06:58:02 CET 2013
	- clean remnants of existing __DIE__ and __WARN__ handlers so
          they lose their magic and will not cause segfaults later
          (testcase by Andrey Sagulin).
	- improved Coro::State documentation a bit.
        - Coro::Debug::command now flushes the output.
        - add hack detection code for x32 abi, because the braindead slugs
          who designed that made it look exactly like x86_64 without
          providing proper compile time symbols to test for it. as a result,
          this detection cannot work reliably.
        - valgrind stack registering was broken.
        - do not rely on Time::HiRes anymore in Coro::Debug.

6.23 Fri Dec  7 23:36:37 CET 2012
        - use experimental fiber implementation on native windows
          perls.
        - use sizeof (void *) as multiplication factor for stack sizes,
          to accomodate the totally braindamaged microsoft 64 bit "os".
        - changed verifier host from win2k-ap510-32 to win7-sp516-32/64.
          activeperl 5.16 crashes when PerlIO_define_layer is called due
          to some bug in the perl dll, strawberry perl at least passes
          the testsuite.
        - implement Coro::Handle->peeraddr/host/port, for slightly
          improved compatibility with LWP.
	- implement 5.17 compatibility by almost blindly applying a
          good-looking patch by Father Chrysostomos.
        - move stack management functions into libcoro 3.
        - libcoro version 3 "released".
	- support magic values as timed_io_once args.
	- recommend AnyEvent 7+ or EV 4+, also require EV
          version 4 or newer for Coro::EV.

6.10 Tue Oct  9 01:14:27 CEST 2012
	- updated ecb.h, it had a typo that caused it to not compile on many
          big endian systems (reported by many people).
        - disable memory fences in ecb.h to improve portability.

6.09 Sat Oct  6 23:25:02 CEST 2012
	- Coro::EV I/O watchers were not interruptible by exceptions
          (Coro::State::throw) (testcase by sten).
        - ->throw now puts threads into the ready queue, as this seems to
          be expected by existing code, and code that doesn't cope with spurious
          wakeups needs fixing anyway.
	- use fd -1 in mmap.
        - cast I32 to int in error message printf.
        - warn about broken so-called "hardened" kernels.

6.08 Fri Apr 13 12:05:47 CEST 2012
	- be more aggressive about exiting like perl does - formerly,
          exiting from the non-main thread would not execute END blocks.
2013-09-02 13:16:26 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2013/09/02 13:16:26 obache Exp $
#
DISTNAME= Coro-6.31
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"