diff --git a/devel/p5-DateTime-Astro/Makefile b/devel/p5-DateTime-Astro/Makefile index d37afb247a12..1e6a45fb6850 100644 --- a/devel/p5-DateTime-Astro/Makefile +++ b/devel/p5-DateTime-Astro/Makefile @@ -21,6 +21,7 @@ BUILD_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \ LIB_DEPENDS= mpfr:${PORTSDIR}/math/mpfr RUN_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \ p5-DateTime-Set>=0:${PORTSDIR}/devel/p5-DateTime-Set +TEST_DEPENDS= p5-Test-Exception>0:${PORTSDIR}/devel/p5-Test-Exception TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception diff --git a/devel/p5-Log-Dispatch-Dir/Makefile b/devel/p5-Log-Dispatch-Dir/Makefile index 5e4c9f63335a..8815b11ca33c 100644 --- a/devel/p5-Log-Dispatch-Dir/Makefile +++ b/devel/p5-Log-Dispatch-Dir/Makefile @@ -29,4 +29,10 @@ PERL_MODBUILD= 5.10.0+ MAN3= Log::Dispatch::Dir.3 -.include +.include + +.if ${PERL_LEVEL} < 501400 +TEST_DEPENDS= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include