aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-01-26 22:53:49 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-01-26 22:53:49 +0800
commit4ef14e3f17a49b78eaa158269ed419d1c946cd88 (patch)
treee92a0c4d19fd06e995836d017448c29c89e1b7e6 /devel
parent9eb276669035d255359d4f2fd0c527cd9c82e856 (diff)
downloadfreebsd-ports-gnome-4ef14e3f17a49b78eaa158269ed419d1c946cd88.tar.gz
freebsd-ports-gnome-4ef14e3f17a49b78eaa158269ed419d1c946cd88.tar.zst
freebsd-ports-gnome-4ef14e3f17a49b78eaa158269ed419d1c946cd88.zip
- Update TEST_DEPENDS
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-MooseX-POE/Makefile14
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>