aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-IO-Util
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2006-01-01 18:58:26 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2006-01-01 18:58:26 +0000
commit28e9b8fc3a5194eccb6ca4e5ee04251f16a60698 (patch)
tree5e70655397c08ff6c52727a6ca904a8a1269bea3 /devel/p5-IO-Util
parent46da0433340e4759aa01ae00c1f190c24400848f (diff)
downloadports-28e9b8fc3a5194eccb6ca4e5ee04251f16a60698.tar.gz
ports-28e9b8fc3a5194eccb6ca4e5ee04251f16a60698.zip
Notes
Diffstat (limited to 'devel/p5-IO-Util')
-rw-r--r--devel/p5-IO-Util/Makefile11
-rw-r--r--devel/p5-IO-Util/distinfo6
2 files changed, 12 insertions, 5 deletions
diff --git a/devel/p5-IO-Util/Makefile b/devel/p5-IO-Util/Makefile
index d07d32380129..002c0db47009 100644
--- a/devel/p5-IO-Util/Makefile
+++ b/devel/p5-IO-Util/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= IO-Util
-PORTVERSION= 1.48
+PORTVERSION= 1.5
+PORTEPOCH= 1
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= IO
@@ -15,6 +16,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= ports@FreeBSD.org
COMMENT= A selection of general-utility IO function
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+BUILD_DEPENDS= ${RUN_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= IO::Util.3
@@ -22,7 +26,10 @@ MAN3= IO::Util.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
-IGNORE= requires perl 5.6.1 or later. Install lang/perl5 then try again
+post-patch:
+ ${PERL} -pi -e 's/our\s+([\$$\@\%]\w+)/use vars qw($$1); $$1/;' ${WRKSRC}/lib/IO/Util.pm
+ ${PERL} -pi -e '$$_="" if m{5.006|warnings}' \
+ ${WRKSRC}/lib/IO/Util.pm ${WRKSRC}/Makefile.PL ${WRKSRC}/t/*.t
.endif
.include <bsd.port.post.mk>
diff --git a/devel/p5-IO-Util/distinfo b/devel/p5-IO-Util/distinfo
index f05476736eec..adc5ccbe3412 100644
--- a/devel/p5-IO-Util/distinfo
+++ b/devel/p5-IO-Util/distinfo
@@ -1,3 +1,3 @@
-MD5 (IO-Util-1.48.tar.gz) = 6303fc8365ab1339ce99aa2048423e04
-SHA256 (IO-Util-1.48.tar.gz) = 8c26538140e53651719bbb4b9d369a35337537543c410a43e9b1ec53dd834f09
-SIZE (IO-Util-1.48.tar.gz) = 13607
+MD5 (IO-Util-1.5.tar.gz) = 520ce0056f3e5816ae82bc93bf413507
+SHA256 (IO-Util-1.5.tar.gz) = 6141970f5fa5b6e8c1ac342c735cea2017eee6b3b5f9f59f2bc634afac86e3e7
+SIZE (IO-Util-1.5.tar.gz) = 14017