aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Unix-Statgrab/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Unix-Statgrab/Makefile')
-rw-r--r--devel/p5-Unix-Statgrab/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/p5-Unix-Statgrab/Makefile b/devel/p5-Unix-Statgrab/Makefile
index d1415c5a0dbe..a5cd55286a1e 100644
--- a/devel/p5-Unix-Statgrab/Makefile
+++ b/devel/p5-Unix-Statgrab/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= Unix-Statgrab
-PORTVERSION= 0.03
-PORTREVISION= 1
+PORTVERSION= 0.04
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Unix
@@ -28,10 +27,9 @@ MAN3= Unix::Statgrab.3
.include <bsd.port.pre.mk>
-post-patch:
.if ${PERL_LEVEL} < 500600
+post-patch:
@${PERL} -i -pe 's/}\(/}->(/' ${WRKSRC}/lib/Unix/Statgrab.pm
.endif
- @${RM} ${WRKSRC}/lib/Unix/Statgrab.pm.orig
.include <bsd.port.post.mk>