aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2009-05-13 10:30:23 +0800
committerclsung <clsung@FreeBSD.org>2009-05-13 10:30:23 +0800
commitdebd0e8d54e0d476372a3eb2a2ee8be6ec22e04d (patch)
treefb0b392d382865cbab80d6d0d948220879d2f336 /devel
parent9df66bdcb029d578653db586460ea37f0df8cb01 (diff)
downloadfreebsd-ports-gnome-debd0e8d54e0d476372a3eb2a2ee8be6ec22e04d.tar.gz
freebsd-ports-gnome-debd0e8d54e0d476372a3eb2a2ee8be6ec22e04d.tar.zst
freebsd-ports-gnome-debd0e8d54e0d476372a3eb2a2ee8be6ec22e04d.zip
- simplify dependency
- bump PORTREVISION PR: ports/133976 Submitted by: leeym
Diffstat (limited to 'devel')
-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>