aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBIx-ContextualFetch
diff options
context:
space:
mode:
authorskv <skv@FreeBSD.org>2004-04-04 23:27:07 +0800
committerskv <skv@FreeBSD.org>2004-04-04 23:27:07 +0800
commit056952d9eeca2add7c3950a7099092ada022d1b1 (patch)
tree1092c8e27b583f36fd2ede8eaf626d1e7a5afb9f /databases/p5-DBIx-ContextualFetch
parent41ee19dde9c73159708cba1345ccf5a0156922a0 (diff)
downloadfreebsd-ports-gnome-056952d9eeca2add7c3950a7099092ada022d1b1.tar.gz
freebsd-ports-gnome-056952d9eeca2add7c3950a7099092ada022d1b1.tar.zst
freebsd-ports-gnome-056952d9eeca2add7c3950a7099092ada022d1b1.zip
Make port compatible with perl 5.00503
PR: 65136 Submitted by: Lars Thegler <lars@thegler.dk>
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>