diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-09-07 23:33:08 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-09-07 23:33:08 +0000 |
commit | e059feda1e5c5a68036b12238d62c43645db2e05 (patch) | |
tree | 0139f6a7e53694a005e1aae5debb94db39ed1e30 | |
parent | e437bd451b7223a49ae60b0b43acea27023c2e05 (diff) | |
download | ports-e059feda1e5c5a68036b12238d62c43645db2e05.tar.gz ports-e059feda1e5c5a68036b12238d62c43645db2e05.zip |
- Fix *_DEPENDS: p5-JSON-PP >= 2.27200 is already in Perl 5.16.0+
Notes
Notes:
svn path=/head/; revision=303842
-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> |