diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-MooseX-POE/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/devel/p5-MooseX-POE/Makefile b/devel/p5-MooseX-POE/Makefile index 0e4711eaf772..7830fb32b658 100644 --- a/devel/p5-MooseX-POE/Makefile +++ b/devel/p5-MooseX-POE/Makefile @@ -23,9 +23,9 @@ BUILD_DEPENDS= p5-Moose>=0.90:${PORTSDIR}/devel/p5-Moose \ p5-Sub-Name>=0:${PORTSDIR}/devel/p5-Sub-Name RUN_DEPENDS:= ${BUILD_DEPENDS} -TEST_DEPENDS= p5-Test-Simple>=0.89:${PORTSDIR}/devel/p5-Test-Simple \ - p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \ - p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal +TEST_DEPENDS= p5-MooseX-Daemonize>=0:${PORTSDIR}/devel/p5-MooseX-Daemonize \ + p5-MooseX-Declare>=0:${PORTSDIR}/devel/p5-MooseX-Declare \ + p5-Test-Fatal>=0.003:${PORTSDIR}/devel/p5-Test-Fatal PERL_CONFIGURE= yes @@ -44,4 +44,10 @@ MAN3= MooseX::POE.3 \ post-extract: @${PERL} -i -ne 'print unless m,build_requires,' ${WRKSRC}/Makefile.PL -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.90:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |