afresh1 e91a6d94b3 Update devel/p5-Coro to 6.511
Plus additional patch for perl 5.24 and disable JIT due to W^X violations.

OK sthen@
2016-10-16 18:23:53 +00:00

32 lines
669 B
Makefile

# $OpenBSD: Makefile,v 1.14 2016/10/16 18:23:53 afresh1 Exp $
COMMENT = coroutines for perl
MODULES = cpan
DISTNAME = Coro-6.511
CATEGORIES = devel
# perl
PERMIT_PACKAGE_CDROM = Yes
WANTLIB += c perl pthread
BUILD_DEPENDS = ${RUN_DEPENDS} \
devel/p5-Canary-Stability
RUN_DEPENDS = devel/p5-Event>=0.89 \
devel/p5-AnyEvent>=5.00 \
devel/p5-EV>=4.0 \
devel/p5-common-sense \
devel/p5-Guard>=0.5
# will use hand-made assembler on i386/amd64
# can force it to use sjlj like on other platforms, to
# check things work.
# CONFIGURE_ENV = CORO_INTERFACE=s
# The Coro JIT violates W^X, so we can't use it.
CONFIGURE_ENV += CORO_JIT=n
.include <bsd.port.mk>