aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2006-01-02 02:58:26 +0800
committerleeym <leeym@FreeBSD.org>2006-01-02 02:58:26 +0800
commitc0fc58f47f581ea151c765620a76d86392716663 (patch)
treef3fcda321647aa516fa5dc0b0be2eb702de41b76 /devel
parent7a92d3478cdd1666372479cb849f469c50c2f8b9 (diff)
downloadfreebsd-ports-gnome-c0fc58f47f581ea151c765620a76d86392716663.tar.gz
freebsd-ports-gnome-c0fc58f47f581ea151c765620a76d86392716663.tar.zst
freebsd-ports-gnome-c0fc58f47f581ea151c765620a76d86392716663.zip
- update to 1.5
Diffstat (limited to 'devel')
-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