diff options
-rw-r--r-- | devel/p5-CPAN-Meta/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/p5-CPAN-Meta/Makefile b/devel/p5-CPAN-Meta/Makefile index a7fc581137ef..6dd98211126a 100644 --- a/devel/p5-CPAN-Meta/Makefile +++ b/devel/p5-CPAN-Meta/Makefile @@ -19,11 +19,9 @@ LICENSE_COMB= dual BUILD_DEPENDS= p5-CPAN-Meta-Requirements>=2.121:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements \ p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \ - p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP \ p5-Parse-CPAN-Meta>=1.44.03:${PORTSDIR}/devel/p5-Parse-CPAN-Meta RUN_DEPENDS= p5-CPAN-Meta-Requirements>=2.121:${PORTSDIR}/devel/p5-CPAN-Meta-Requirements \ p5-CPAN-Meta-YAML>=0.008:${PORTSDIR}/devel/p5-CPAN-Meta-YAML \ - p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP \ p5-Parse-CPAN-Meta>=1.44.03:${PORTSDIR}/devel/p5-Parse-CPAN-Meta PERL_CONFIGURE= yes @@ -47,4 +45,9 @@ BUILD_DEPENDS+= p5-version>=0.88:${PORTSDIR}/devel/p5-version RUN_DEPENDS+= p5-version>=0.88:${PORTSDIR}/devel/p5-version .endif +.if ${PERL_LEVEL} < 501600 +BUILD_DEPENDS+= p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP +RUN_DEPENDS+= p5-JSON-PP>=2.27200:${PORTSDIR}/converters/p5-JSON-PP +.endif + .include <bsd.port.post.mk> |