aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Module-Pluggable
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2005-02-22 14:54:08 +0000
committerLars Thegler <lth@FreeBSD.org>2005-02-22 14:54:08 +0000
commit296f913996bfb5384ebb7efc53f34f454968bbbd (patch)
treefd6c33e72b0aad8c183a3a2108abe558c902d7fb /devel/p5-Module-Pluggable
parent7d6b36b5c54673d17e74e74198c3da48e4bddf26 (diff)
downloadports-296f913996bfb5384ebb7efc53f34f454968bbbd.tar.gz
ports-296f913996bfb5384ebb7efc53f34f454968bbbd.zip
Update to 2.7
Notes
Notes: svn path=/head/; revision=129550
Diffstat (limited to 'devel/p5-Module-Pluggable')
-rw-r--r--devel/p5-Module-Pluggable/Makefile9
-rw-r--r--devel/p5-Module-Pluggable/distinfo4
2 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-Module-Pluggable/Makefile b/devel/p5-Module-Pluggable/Makefile
index 91434eb55afd..bc5142227623 100644
--- a/devel/p5-Module-Pluggable/Makefile
+++ b/devel/p5-Module-Pluggable/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Module-Pluggable
-PORTVERSION= 2.6
+PORTVERSION= 2.7
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Module
@@ -22,4 +22,9 @@ PERL_MODBUILD= yes
MAN3= Module::Pluggable.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} <= 500503
+post-patch:
+ @${PERL} -pi -e '$$_ = qq( local \$$^W;\n) if /no warnings/' ${WRKSRC}/lib/Module/Pluggable.pm
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Module-Pluggable/distinfo b/devel/p5-Module-Pluggable/distinfo
index d3054f4191de..32fdfb0df72f 100644
--- a/devel/p5-Module-Pluggable/distinfo
+++ b/devel/p5-Module-Pluggable/distinfo
@@ -1,2 +1,2 @@
-MD5 (Module-Pluggable-2.6.tar.gz) = 7afe4dfb6756e1dc82f82c976d95ba38
-SIZE (Module-Pluggable-2.6.tar.gz) = 9873
+MD5 (Module-Pluggable-2.7.tar.gz) = 871144215d2e1057d225463f4ee2c6d0
+SIZE (Module-Pluggable-2.7.tar.gz) = 10245