Index: Makefile =================================================================== RCS file: /home/pcvs/ports/devel/p5-IPC-Run3/Makefile,v retrieving revision 1.18 diff -u -d -b -w -u -r1.18 Makefile --- Makefile 14 Aug 2008 01:53:45 -0000 1.18 +++ Makefile 24 Apr 2009 17:12:40 -0000 @@ -6,6 +6,7 @@ PORTNAME= IPC-Run3 PORTVERSION= 0.042 +PORTREVISION= 1 CATEGORIES= devel perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -13,9 +14,6 @@ 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 @@ IPC::Run3::ProfPP.3 \ IPC::Run3::ProfReporter.3 -.include +.include + +.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