aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-Class-DBI
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2004-10-24 17:29:18 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2004-10-24 17:29:18 +0000
commit10b39e1cfb5b75151bf9823185be7b0cf986cd69 (patch)
tree1c12a5a46e949449dc56d8e3f5630a5572450601 /databases/p5-Class-DBI
parentd0a90383d6f4ef77be7a7650631c1e6c1a213ddb (diff)
downloadports-10b39e1cfb5b75151bf9823185be7b0cf986cd69.tar.gz
ports-10b39e1cfb5b75151bf9823185be7b0cf986cd69.zip
Notes
Diffstat (limited to 'databases/p5-Class-DBI')
-rw-r--r--databases/p5-Class-DBI/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/p5-Class-DBI/Makefile b/databases/p5-Class-DBI/Makefile
index c453d0c1b8f8..6baf7eb8ef11 100644
--- a/databases/p5-Class-DBI/Makefile
+++ b/databases/p5-Class-DBI/Makefile
@@ -7,7 +7,7 @@
PORTNAME= Class-DBI
PORTVERSION= 0.96
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Class
@@ -40,6 +40,11 @@ post-configure:
BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES= ${PATCHDIR}/5.005-lib::Class::DBI.pm ${PATCHDIR}/5.005-Makefile.PL
+
+post-patch:
+ @${FIND} ${WRKSRC} -name "*.pm" | ${XARGS} \
+ ${PERL} -pi -e 's/\buse warnings[^;]*;//g'
+ @${FIND} ${WRKSRC} -name "*.orig" | ${XARGS} ${RM}
.endif
.endif