diff options
author | skv <skv@FreeBSD.org> | 2004-04-04 23:27:07 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2004-04-04 23:27:07 +0800 |
commit | 056952d9eeca2add7c3950a7099092ada022d1b1 (patch) | |
tree | 1092c8e27b583f36fd2ede8eaf626d1e7a5afb9f /databases/p5-DBIx-ContextualFetch/Makefile | |
parent | 41ee19dde9c73159708cba1345ccf5a0156922a0 (diff) | |
download | freebsd-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/Makefile')
-rw-r--r-- | databases/p5-DBIx-ContextualFetch/Makefile | 8 |
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> |