aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-IO-Capture
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2005-05-06 21:37:38 +0000
committerLars Thegler <lth@FreeBSD.org>2005-05-06 21:37:38 +0000
commitd7894ad3ddedf8fffaa32edbf07c489bf818148d (patch)
tree0d4874cc45af1a334af493c9082ca0cca0aa3fff /devel/p5-IO-Capture
parenta4b19b610af8f8ce723f918488dda5ed1ec89300 (diff)
downloadports-d7894ad3ddedf8fffaa32edbf07c489bf818148d.tar.gz
ports-d7894ad3ddedf8fffaa32edbf07c489bf818148d.zip
Notes
Diffstat (limited to 'devel/p5-IO-Capture')
-rw-r--r--devel/p5-IO-Capture/Makefile9
-rw-r--r--devel/p5-IO-Capture/distinfo4
-rw-r--r--devel/p5-IO-Capture/pkg-plist1
3 files changed, 8 insertions, 6 deletions
diff --git a/devel/p5-IO-Capture/Makefile b/devel/p5-IO-Capture/Makefile
index dcf9417095a2..12236a38e085 100644
--- a/devel/p5-IO-Capture/Makefile
+++ b/devel/p5-IO-Capture/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= IO-Capture
-PORTVERSION= 0.03
+PORTVERSION= 0.05
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= IO
@@ -18,7 +18,6 @@ COMMENT= Abstract Base Class to build modules to capture output
PERL_CONFIGURE= yes
MAN3= IO::Capture.3 \
- IO::Capture::ErrorMessages.3 \
IO::Capture::Overview.3 \
IO::Capture::Stderr.3 \
IO::Capture::Stdout.3 \
@@ -27,6 +26,10 @@ MAN3= IO::Capture.3 \
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
- @${PERL} -pi -e '$$_ = "" if /5.006/' ${WRKSRC}/Makefile.PL
+ @${PERL} -pi -e '$$_ = "" if m/5.006|use warnings;/' \
+ ${WRKSRC}/Makefile.PL \
+ ${WRKSRC}/lib/IO/Capture/Stderr.pm
+ @${PERL} -pi -e '$$_ = "return 1;" if m/lt v5/;' \
+ ${WRKSRC}/lib/IO/Capture/Stderr.pm
.endif
.include <bsd.port.post.mk>
diff --git a/devel/p5-IO-Capture/distinfo b/devel/p5-IO-Capture/distinfo
index d088f0b593d0..ebf2ffa6bb50 100644
--- a/devel/p5-IO-Capture/distinfo
+++ b/devel/p5-IO-Capture/distinfo
@@ -1,2 +1,2 @@
-MD5 (IO-Capture-0.03.tar.gz) = 609fa1b1c7dcdbdb584c74f0eb083c65
-SIZE (IO-Capture-0.03.tar.gz) = 12087
+MD5 (IO-Capture-0.05.tar.gz) = 4760036d7fcf9f2cc34f2b2eefd511a4
+SIZE (IO-Capture-0.05.tar.gz) = 14246
diff --git a/devel/p5-IO-Capture/pkg-plist b/devel/p5-IO-Capture/pkg-plist
index 700b4dd5ce97..15c98e80cff4 100644
--- a/devel/p5-IO-Capture/pkg-plist
+++ b/devel/p5-IO-Capture/pkg-plist
@@ -1,5 +1,4 @@
%%SITE_PERL%%/IO/Capture.pm
-%%SITE_PERL%%/IO/Capture/ErrorMessages.pm
%%SITE_PERL%%/IO/Capture/Overview.pod
%%SITE_PERL%%/IO/Capture/Stderr.pm
%%SITE_PERL%%/IO/Capture/Stdout.pm