aboutsummaryrefslogtreecommitdiff
path: root/graphics/p5-GD-TextUtil/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/p5-GD-TextUtil/Makefile')
-rw-r--r--graphics/p5-GD-TextUtil/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/p5-GD-TextUtil/Makefile b/graphics/p5-GD-TextUtil/Makefile
index f4b678b4f933..062ae3ace831 100644
--- a/graphics/p5-GD-TextUtil/Makefile
+++ b/graphics/p5-GD-TextUtil/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= GD-TextUtil
-PORTVERSION= 0.80
+PORTVERSION= 0.82
CATEGORIES= graphics perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= GD
@@ -22,4 +22,8 @@ PERL_CONFIGURE= YES
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= GD::Text.3 GD::Text::Wrap.3 GD::Text::Align.3
+post-patch:
+# Silence 'strict subs'
+ ${PERL} -pi -e 's/Cwd::cwd/Cwd::cwd()/' ${WRKSRC}/Text.pm
+
.include <bsd.port.mk>