From 8a3adf20f73befad878f8edd3e6d3ac7b6aa230c Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sat, 23 Apr 2011 06:44:52 +0000 Subject: [PATCH] merge modification from the upgrade proposed in PR: - p5-POE-Test-Loops expected is >=1.050 - add dependency on p5-IO depending on the version perl PR: ports/156501 Submitted by: Jase Thew --- devel/p5-POE/Makefile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/devel/p5-POE/Makefile b/devel/p5-POE/Makefile index 735252461fa6..abb06b5334f5 100644 --- a/devel/p5-POE/Makefile +++ b/devel/p5-POE/Makefile @@ -18,7 +18,7 @@ LICENSE_COMB= dual LICENSE= ART20 GPLv1 BUILD_DEPENDS= p5-IO-Tty>=1.08:${PORTSDIR}/devel/p5-IO-Tty \ - p5-POE-Test-Loops>=1.040:${PORTSDIR}/devel/p5-POE-Test-Loops + p5-POE-Test-Loops>=1.050:${PORTSDIR}/devel/p5-POE-Test-Loops RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -46,6 +46,13 @@ MAN3= POE.3 POE::Component.3 POE::Component::Client::TCP.3 \ POE::Wheel::ReadWrite.3 POE::Wheel::Run.3 \ POE::Wheel::SocketFactory.3 +.include +.if ${PERL_LEVEL} < 501001 +BUILD_DEPENDS+= p5-IO>=1.24:${PORTSDIR}/devel/p5-IO +RUN_DEPENDS+= p5-IO>=1.24:${PORTSDIR}/devel/p5-IO +.endif + + post-install: .ifndef(NOPORTEXAMPLES) @${ECHO_MSG} "===> Installing examples for ${PKGNAME}" @@ -56,4 +63,4 @@ post-install: test: build @(cd ${WRKSRC}; make test) -.include +.include