aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2014-08-16 23:01:29 +0800
committersunpoet <sunpoet@FreeBSD.org>2014-08-16 23:01:29 +0800
commit28bb136cd60b99aac51e0b84ec1d7e5e4d8d232b (patch)
tree4acfe1da824b2d1751a1342d8499bd28b2f75ca5 /devel
parent1eaf944e31d3caf734ddd10286cc9d66baa60ce1 (diff)
downloadfreebsd-ports-gnome-28bb136cd60b99aac51e0b84ec1d7e5e4d8d232b.tar.gz
freebsd-ports-gnome-28bb136cd60b99aac51e0b84ec1d7e5e4d8d232b.tar.zst
freebsd-ports-gnome-28bb136cd60b99aac51e0b84ec1d7e5e4d8d232b.zip
- Fix *_DEPENDS
- Bump PORTREVISION for dependency change Reported by: leeym
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-CPAN-Meta/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/devel/p5-CPAN-Meta/Makefile b/devel/p5-CPAN-Meta/Makefile
index 38e16f064534..0367fb5c7457 100644
--- a/devel/p5-CPAN-Meta/Makefile
+++ b/devel/p5-CPAN-Meta/Makefile
@@ -3,6 +3,7 @@
PORTNAME= CPAN-Meta
PORTVERSION= 2.142060
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,11 +14,6 @@ COMMENT= The distribution metadata for a CPAN dist
LICENSE= ART10 GPLv1
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-Parse-CPAN-Meta>=1.44.03:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
-RUN_DEPENDS:= ${BUILD_DEPENDS}
-
USE_PERL5= configure
USES= perl5
@@ -28,4 +24,16 @@ 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
+.if ${PERL_LEVEL} < 501800
+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
+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
+.endif
+
+.if ${PERL_LEVEL} < 502000
+BUILD_DEPENDS+= p5-Parse-CPAN-Meta>=1.44.14:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
+RUN_DEPENDS+= p5-Parse-CPAN-Meta>=1.44.14:${PORTSDIR}/devel/p5-Parse-CPAN-Meta
+.endif
+
.include <bsd.port.post.mk>