diff options
Diffstat (limited to 'devel/p5-IO-Handle-Util/Makefile')
-rw-r--r-- | devel/p5-IO-Handle-Util/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/p5-IO-Handle-Util/Makefile b/devel/p5-IO-Handle-Util/Makefile index e75fa1a49780..8a335b9c10ea 100644 --- a/devel/p5-IO-Handle-Util/Makefile +++ b/devel/p5-IO-Handle-Util/Makefile @@ -15,9 +15,14 @@ RUN_DEPENDS= \ p5-Sub-Exporter>0:${PORTSDIR}/devel/p5-Sub-Exporter \ p5-asa>0:${PORTSDIR}/devel/p5-asa BUILD_DEPENDS:= ${RUN_DEPENDS} -TEST_DEPENDS= p5-Test-use-ok>=0:${PORTSDIR}/devel/p5-Test-use-ok USES= perl5 USE_PERL5= configure -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502200 +TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |