diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-04-04 15:27:07 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-04-04 15:27:07 +0000 |
commit | 1e3d80855c70cce74615390c86acfa112dee0b21 (patch) | |
tree | 30034866f9bf1173297700bbbdea5e90755720f2 /databases/p5-DBIx-ContextualFetch | |
parent | Add an entry for x11-fonts/gentium. (diff) |
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/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> |