diff --git a/irc/p5-IRC/Makefile b/irc/p5-IRC/Makefile index fbd006904488..404f4b0cfa5e 100644 --- a/irc/p5-IRC/Makefile +++ b/irc/p5-IRC/Makefile @@ -7,6 +7,7 @@ PORTNAME= Net-IRC PORTVERSION= 0.74 +PORTREVISION= 1 CATEGORIES= irc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Net/JMUHLICH @@ -22,4 +23,11 @@ MAN3= Net::Connection.3 \ Net::Event.3 \ Net::IRC.3 -.include +.include + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/INET.pm:${PORTSDIR}/devel/p5-IO +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO/Socket/INET.pm:${PORTSDIR}/devel/p5-IO +.endif + +.include