aboutsummaryrefslogtreecommitdiff
path: root/irc/p5-IRC
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-04-30 12:43:25 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-04-30 12:43:25 +0000
commitfaa24dbb29f3d647e47ddef8fc426dd212726b77 (patch)
treeff79d9ca6217666065262b819264f3937b4eef53 /irc/p5-IRC
parent77bfe6841b19d61fdf20b64d1d22ae964ff24ba6 (diff)
downloadports-faa24dbb29f3d647e47ddef8fc426dd212726b77.tar.gz
ports-faa24dbb29f3d647e47ddef8fc426dd212726b77.zip
Fix perl 5.005
Inspired by PR: 64256 Submitted by: vs Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=108020
Diffstat (limited to 'irc/p5-IRC')
-rw-r--r--irc/p5-IRC/Makefile10
1 files changed, 9 insertions, 1 deletions
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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.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 <bsd.port.post.mk>