Remove the dependency on p5-Dist-CheckConflicts; it was removed from Moo in

version 1.004. Bump PORTREVISION for this.

While here, add an XS option that pulls in Class::XSAccessor and Sub::Name
for speed boosts. In the next version, the Sub::Name dependency will change.

PR:		197211
This commit is contained in:
Adam Weinberger 2015-02-08 18:24:58 +00:00
parent 0a584ebb1f
commit 825f9dbdb4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378664

View file

@ -3,6 +3,7 @@
PORTNAME= Moo
PORTVERSION= 1.007000
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:HAARG
@ -16,7 +17,6 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-Class-Method-Modifiers>=1.10:${PORTSDIR}/devel/p5-Class-Method-Modifiers \
p5-Devel-GlobalDestruction>=0.11:${PORTSDIR}/devel/p5-Devel-GlobalDestruction \
p5-Dist-CheckConflicts>=0.02:${PORTSDIR}/devel/p5-Dist-CheckConflicts \
p5-Module-Runtime>=0.012:${PORTSDIR}/devel/p5-Module-Runtime \
p5-Role-Tiny>=1.003.002:${PORTSDIR}/devel/p5-Role-Tiny \
p5-strictures>=1.004003:${PORTSDIR}/devel/p5-strictures \
@ -27,4 +27,11 @@ TEST_DEPENDS= p5-Test-Fatal>=0.003:${PORTSDIR}/devel/p5-Test-Fatal
USES= perl5
USE_PERL5= configure
OPTIONS_DEFINE= XS
XS_DESC= Use XS libraries for speed boost
XS_BUILD_DEPENDS= p5-Class-XSAccessor>=1.18:${PORTSDIR}/devel/p5-Class-XSAccessor \
p5-Sub-Name>=0:${PORTSDIR}/devel/p5-Sub-Name
XS_RUN_DEPENDS:= ${XS_BUILD_DEPENDS}
.include <bsd.port.mk>