aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Data-TreeDumper
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2012-11-19 21:29:25 +0800
committeraz <az@FreeBSD.org>2012-11-19 21:29:25 +0800
commit2fb8f91ee7ee734cd18b718142b417624b08761a (patch)
tree200a9f52f12a9b3f3e7174eadfc35bde31956ff3 /devel/p5-Data-TreeDumper
parente83bb4a26a917a42f22e2ba881fee71a44340dc4 (diff)
downloadfreebsd-ports-gnome-2fb8f91ee7ee734cd18b718142b417624b08761a.tar.gz
freebsd-ports-gnome-2fb8f91ee7ee734cd18b718142b417624b08761a.tar.zst
freebsd-ports-gnome-2fb8f91ee7ee734cd18b718142b417624b08761a.zip
Add required dependency for perl >= 5.14
PR: ports/167528 Submitted by: Wayne Sierke <ws@au.dyndns.ws> Approved by: maintainer (timeout) Feature safe: yes
Diffstat (limited to 'devel/p5-Data-TreeDumper')
-rw-r--r--devel/p5-Data-TreeDumper/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/p5-Data-TreeDumper/Makefile b/devel/p5-Data-TreeDumper/Makefile
index 7e2a2d52b007..0fb899856692 100644
--- a/devel/p5-Data-TreeDumper/Makefile
+++ b/devel/p5-Data-TreeDumper/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Data-TreeDumper
PORTVERSION= 0.40
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -25,4 +26,11 @@ MAN3= Data::TreeDumper.3
PERL_CONFIGURE= yes
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} >= 501400
+BUILD_DEPENDS+= p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA
+RUN_DEPENDS+= p5-Class-ISA>=0:${PORTSDIR}/devel/p5-Class-ISA
+.endif
+
+.include <bsd.port.post.mk>