diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2012-09-08 07:33:08 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2012-09-08 07:33:08 +0800 |
commit | eeed730b0261d76c075c1940fcefefd2aa6b60a1 (patch) | |
tree | 0139f6a7e53694a005e1aae5debb94db39ed1e30 /devel/p5-CPAN-Meta | |
parent | 5746681f9dbed699d2049b7758525582d0460bc2 (diff) | |
download | freebsd-ports-gnome-eeed730b0261d76c075c1940fcefefd2aa6b60a1.tar.gz freebsd-ports-gnome-eeed730b0261d76c075c1940fcefefd2aa6b60a1.tar.zst freebsd-ports-gnome-eeed730b0261d76c075c1940fcefefd2aa6b60a1.zip |
- Fix *_DEPENDS: p5-JSON-PP >= 2.27200 is already in Perl 5.16.0+
Diffstat (limited to 'devel/p5-CPAN-Meta')
-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> |