aboutsummaryrefslogtreecommitdiffstats
path: root/irc/p5-IRC
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-04-30 20:43:25 +0800
committermat <mat@FreeBSD.org>2004-04-30 20:43:25 +0800
commit7dab387366b3b6bca65a31aae0d1c306577c58fe (patch)
tree1b646952ceeb5fe15d6a6c273b43e7e955d32199 /irc/p5-IRC
parentdbe4546170e3fcca70994ea9b389d8959422f61f (diff)
downloadfreebsd-ports-gnome-7dab387366b3b6bca65a31aae0d1c306577c58fe.tar.gz
freebsd-ports-gnome-7dab387366b3b6bca65a31aae0d1c306577c58fe.tar.zst
freebsd-ports-gnome-7dab387366b3b6bca65a31aae0d1c306577c58fe.zip
Fix perl 5.005
Inspired by PR: 64256 Submitted by: vs Approved by: maintainer timeout
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>