aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-09-08 07:33:08 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-09-08 07:33:08 +0800
commiteeed730b0261d76c075c1940fcefefd2aa6b60a1 (patch)
tree0139f6a7e53694a005e1aae5debb94db39ed1e30
parent5746681f9dbed699d2049b7758525582d0460bc2 (diff)
downloadfreebsd-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+
-rw-r--r--devel/p5-CPAN-Meta/Makefile7
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>