aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2006-09-22 19:12:12 +0800
committertobez <tobez@FreeBSD.org>2006-09-22 19:12:12 +0800
commit340759b7cf3cfda0695da7f7f46078d9e5cda9be (patch)
tree589af366a24e0be8286d65c1d3585f7a19bbfbcb
parentcb00819b40dda064aa8e05df686014e16e49ec6c (diff)
downloadfreebsd-ports-gnome-340759b7cf3cfda0695da7f7f46078d9e5cda9be.tar.gz
freebsd-ports-gnome-340759b7cf3cfda0695da7f7f46078d9e5cda9be.tar.zst
freebsd-ports-gnome-340759b7cf3cfda0695da7f7f46078d9e5cda9be.zip
Update to 1.11. Require perl from ports.
-rw-r--r--devel/p5-Time-Piece/Makefile11
-rw-r--r--devel/p5-Time-Piece/distinfo6
-rw-r--r--devel/p5-Time-Piece/files/patch-Piece.pm10
3 files changed, 11 insertions, 16 deletions
diff --git a/devel/p5-Time-Piece/Makefile b/devel/p5-Time-Piece/Makefile
index 0c6bfcc1285d..5e01ab9fb269 100644
--- a/devel/p5-Time-Piece/Makefile
+++ b/devel/p5-Time-Piece/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= Time-Piece
-PORTVERSION= 1.09
-PORTREVISION= 1
+PORTVERSION= 1.11
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Time
@@ -20,4 +19,10 @@ PERL_CONFIGURE= yes
MAN3= Time::Piece.3 Time::Seconds.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Time-Piece/distinfo b/devel/p5-Time-Piece/distinfo
index 4cad50fb0203..a31c7a280558 100644
--- a/devel/p5-Time-Piece/distinfo
+++ b/devel/p5-Time-Piece/distinfo
@@ -1,3 +1,3 @@
-MD5 (Time-Piece-1.09.tar.gz) = c37baba0a110e7b2382a00d63ad3cba4
-SHA256 (Time-Piece-1.09.tar.gz) = be4e4a05aa58277c7d205fa639a57ddf9cabcb64fdf10632fdd39c3797e9a213
-SIZE (Time-Piece-1.09.tar.gz) = 20290
+MD5 (Time-Piece-1.11.tar.gz) = 39e4e3a50bca575231da0ddf7fd46911
+SHA256 (Time-Piece-1.11.tar.gz) = 6b959b636caf9de58784ea9a8ab4cc4506f812c793da58ec5e4efac2e18e2280
+SIZE (Time-Piece-1.11.tar.gz) = 20156
diff --git a/devel/p5-Time-Piece/files/patch-Piece.pm b/devel/p5-Time-Piece/files/patch-Piece.pm
deleted file mode 100644
index 2b7c37fd2f3e..000000000000
--- a/devel/p5-Time-Piece/files/patch-Piece.pm
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./Piece.pm.orig Sun Feb 26 20:49:20 2006
-+++ ./Piece.pm Sun Feb 26 20:49:50 2006
-@@ -121,6 +121,7 @@
- for my $method (@methods) {
- if (exists $_special_exports{$method}) {
- no strict 'refs';
-+ local $^W;
- *{$to . "::$method"} = $_special_exports{$method}->($class);
- } else {
- $class->SUPER::export($to, $method);