From faa24dbb29f3d647e47ddef8fc426dd212726b77 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Fri, 30 Apr 2004 12:43:25 +0000 Subject: Fix perl 5.005 Inspired by PR: 64256 Submitted by: vs Approved by: maintainer timeout --- irc/p5-IRC/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'irc') 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 -- cgit v1.2.3