aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Text-Trac
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-08-08 08:53:48 +0800
committerclsung <clsung@FreeBSD.org>2006-08-08 08:53:48 +0800
commit330099dd031c7fa403f0135381bed40fe19de953 (patch)
tree5df1108e93bb21e728805fe2904be2c3a1db515d /textproc/p5-Text-Trac
parentc138a3aacada56b7426c9024e48c41355d0a00f8 (diff)
downloadfreebsd-ports-gnome-330099dd031c7fa403f0135381bed40fe19de953.tar.gz
freebsd-ports-gnome-330099dd031c7fa403f0135381bed40fe19de953.tar.zst
freebsd-ports-gnome-330099dd031c7fa403f0135381bed40fe19de953.zip
- Fix build in Perl 5.00503
PR: ports/101602 Submitted by: maintainer (Gea-Suan Lin)
Diffstat (limited to 'textproc/p5-Text-Trac')
-rw-r--r--textproc/p5-Text-Trac/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/textproc/p5-Text-Trac/Makefile b/textproc/p5-Text-Trac/Makefile
index d39924df3d5f..49ddb668b691 100644
--- a/textproc/p5-Text-Trac/Makefile
+++ b/textproc/p5-Text-Trac/Makefile
@@ -25,6 +25,11 @@ MAN3= Text::Trac.3
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${PERL} -pi -e 's/^use warnings;//g' ${WRKSRC}/Makefile.PL
+.endif
+
.if ${PERL_LEVEL} < 500602
BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
.endif