aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-IPC-Run3
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2009-05-13 02:30:23 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2009-05-13 02:30:23 +0000
commit98c7ac2d359101d936cb78c1ec770faa0941f841 (patch)
tree14f8f5ddca90639ac80b588b98e6794e9d5e3ec2 /devel/p5-IPC-Run3
parent740cfbcda87d425023ff4849df79176db6b8b96e (diff)
downloadports-98c7ac2d359101d936cb78c1ec770faa0941f841.tar.gz
ports-98c7ac2d359101d936cb78c1ec770faa0941f841.zip
Notes
Diffstat (limited to 'devel/p5-IPC-Run3')
-rw-r--r--devel/p5-IPC-Run3/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-IPC-Run3/Makefile b/devel/p5-IPC-Run3/Makefile
index f5e192149572..35a7ed7275e7 100644
--- a/devel/p5-IPC-Run3/Makefile
+++ b/devel/p5-IPC-Run3/Makefile
@@ -6,6 +6,7 @@
PORTNAME= IPC-Run3
PORTVERSION= 0.042
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -13,9 +14,6 @@ PKGNAMEPREFIX= p5-
MAINTAINER= clsung@FreeBSD.org
COMMENT= Run a subprocess in batch mode
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
PERL_CONFIGURE= yes
MAN3= IPC::Run3.3 \
@@ -25,4 +23,11 @@ MAN3= IPC::Run3.3 \
IPC::Run3::ProfPP.3 \
IPC::Run3::ProfReporter.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+BUILD_DEPENDS+= p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
+RUN_DEPENDS+= p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes
+.endif
+
+.include <bsd.port.post.mk>