diff options
Diffstat (limited to 'devel/p5-PerlIO-Layers/Makefile')
-rw-r--r-- | devel/p5-PerlIO-Layers/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/devel/p5-PerlIO-Layers/Makefile b/devel/p5-PerlIO-Layers/Makefile index 8ed1b9f48d6b..62448cdb64b0 100644 --- a/devel/p5-PerlIO-Layers/Makefile +++ b/devel/p5-PerlIO-Layers/Makefile @@ -21,4 +21,15 @@ PERL_MODBUILD= yes MAN3= PerlIO::Layers.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501000 +BUILD_DEPENDS+= p5-ExtUtils-CBuilder>=0:${PORTSDIR}/devel/p5-ExtUtils-CBuilder \ + p5-Module-Build>=0.2800:${PORTSDIR}/devel/p5-Module-Build +.endif + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.82:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |