aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-ContextualFetch
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2004-04-04 15:27:07 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2004-04-04 15:27:07 +0000
commit1e3d80855c70cce74615390c86acfa112dee0b21 (patch)
tree30034866f9bf1173297700bbbdea5e90755720f2 /databases/p5-DBIx-ContextualFetch
parent7d5a7a5144b1b81e3c12578c71d88163c595b506 (diff)
downloadports-1e3d80855c70cce74615390c86acfa112dee0b21.tar.gz
ports-1e3d80855c70cce74615390c86acfa112dee0b21.zip
Make port compatible with perl 5.00503
PR: 65136 Submitted by: Lars Thegler <lars@thegler.dk>
Notes
Notes: svn path=/head/; revision=106126
Diffstat (limited to 'databases/p5-DBIx-ContextualFetch')
-rw-r--r--databases/p5-DBIx-ContextualFetch/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/p5-DBIx-ContextualFetch/Makefile b/databases/p5-DBIx-ContextualFetch/Makefile
index dd0d04cadf57..9d65684fad34 100644
--- a/databases/p5-DBIx-ContextualFetch/Makefile
+++ b/databases/p5-DBIx-ContextualFetch/Makefile
@@ -30,7 +30,13 @@ RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
BUILD_DEPENDS= ${RUN_DEPENDS}
.if ${PERL_LEVEL} < 500702
-BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.if ${PERL_LEVEL} < 500600
+post-patch:
+ ${PERL} -pi -e '$$_="" if /^use warnings/;' \
+ ${WRKSRC}/lib/DBIx/ContextualFetch.pm
.endif
.include <bsd.port.post.mk>