aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2005-05-07 05:37:38 +0800
committerlth <lth@FreeBSD.org>2005-05-07 05:37:38 +0800
commitea24782507fde78778c4991de908330b6671fc84 (patch)
tree7c72d5d8950d3e3251eb8ff2c16f9bdf6a0e5248 /devel
parentd0877cd271edbd48072393eb99d043c2fd1a3167 (diff)
downloadfreebsd-ports-gnome-ea24782507fde78778c4991de908330b6671fc84.tar.gz
freebsd-ports-gnome-ea24782507fde78778c4991de908330b6671fc84.tar.zst
freebsd-ports-gnome-ea24782507fde78778c4991de908330b6671fc84.zip
Update to 0.05
Diffstat (limited to 'devel')
-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