aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-IPC-Run/Makefile
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2006-05-11 16:34:41 +0800
committertobez <tobez@FreeBSD.org>2006-05-11 16:34:41 +0800
commit379aa38790bfc0955456654b8140096062f00681 (patch)
tree04ac8547af99e6e05d6ecb1a16f643d2639fe5c6 /devel/p5-IPC-Run/Makefile
parentbca909d4e1aca7a8e40f8b70af3bc9b9c309ec92 (diff)
downloadfreebsd-ports-gnome-379aa38790bfc0955456654b8140096062f00681.tar.gz
freebsd-ports-gnome-379aa38790bfc0955456654b8140096062f00681.tar.zst
freebsd-ports-gnome-379aa38790bfc0955456654b8140096062f00681.zip
Update to 0.80. Only require optional dependency on p5-IO-Tty for
lang/perl5.8, since that's what the dependency wants.
Diffstat (limited to 'devel/p5-IPC-Run/Makefile')
-rw-r--r--devel/p5-IPC-Run/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/p5-IPC-Run/Makefile b/devel/p5-IPC-Run/Makefile
index 08029af9f41b..f2ccf6d936f0 100644
--- a/devel/p5-IPC-Run/Makefile
+++ b/devel/p5-IPC-Run/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= IPC-Run
-PORTVERSION= 0.79
+PORTVERSION= 0.80
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= IPC
@@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= IPC::Run - Run subprocesses with piping and redirection
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/IO/Tty.pm:${PORTSDIR}/devel/p5-IO-Tty
-RUN_DEPENDS= ${BUILD_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
@@ -26,7 +25,11 @@ MAN3= IPC::Run.3 IPC::Run::IO.3 IPC::Run::Timer.3 IPC::Run::Debug.3 \
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
-BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Handle.pm:${PORTSDIR}/devel/p5-IO
+RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Handle.pm:${PORTSDIR}/devel/p5-IO
+.endif
+
+.if ${PERL_LEVEL} >= 500800
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/IO/Tty.pm:${PORTSDIR}/devel/p5-IO-Tty
.endif
.include <bsd.port.post.mk>