093f6ae412
5.25 Thu Nov 11 01:08:39 CET 2010 - try a different approach on netbsd - netbsd 5 finally has marginally working pthreads, but still broken ucontext/sigaltstack. - openbsd 4.8 finally got their act together, Coro works out of the box with asm, setjmp and pthreads (no change, just informational). 5.24 Sat Oct 23 11:27:12 CEST 2010 - port to the EV 4.0 API. - work around bugs in mingw32, making strawberry perl work out of the box. - correctly modify Coro::AIO function prototypes so that they reflect the "no optional parameters" rule. - "ported" libcoro to C++.
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.4 2010/12/17 02:22:36 hiramatsu Exp $
|
|
#
|
|
|
|
DISTNAME= Coro-5.25
|
|
PKGNAME= p5-${DISTNAME}
|
|
PKGREVISION= 1
|
|
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}
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
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"
|