aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2005-02-22 22:54:08 +0800
committerlth <lth@FreeBSD.org>2005-02-22 22:54:08 +0800
commit6d039e37ef57799251661f56cd4b85c7ade43133 (patch)
treec2726ca2fb25c77ebecd3709e8b1cfb59868dddf
parent1f8abce3b735ab652047f62932baccc86237accc (diff)
downloadfreebsd-ports-gnome-6d039e37ef57799251661f56cd4b85c7ade43133.tar.gz
freebsd-ports-gnome-6d039e37ef57799251661f56cd4b85c7ade43133.tar.zst
freebsd-ports-gnome-6d039e37ef57799251661f56cd4b85c7ade43133.zip
Update to 2.7
-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