diff options
author | Sergey Skvortsov <skv@FreeBSD.org> | 2004-10-24 17:29:18 +0000 |
---|---|---|
committer | Sergey Skvortsov <skv@FreeBSD.org> | 2004-10-24 17:29:18 +0000 |
commit | 10b39e1cfb5b75151bf9823185be7b0cf986cd69 (patch) | |
tree | 1c12a5a46e949449dc56d8e3f5630a5572450601 /databases/p5-Class-DBI | |
parent | d0a90383d6f4ef77be7a7650631c1e6c1a213ddb (diff) | |
download | ports-10b39e1cfb5b75151bf9823185be7b0cf986cd69.tar.gz ports-10b39e1cfb5b75151bf9823185be7b0cf986cd69.zip |
Notes
Diffstat (limited to 'databases/p5-Class-DBI')
-rw-r--r-- | databases/p5-Class-DBI/Makefile | 7 |
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 |