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