diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-23 03:19:54 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-23 03:19:54 +0000 |
commit | a2bd91e3a84f83b6f84bcfb755d49d93270cb8e4 (patch) | |
tree | f9d3a1b958c1cbc3347ccbcce99d4d739ea5c272 /textproc/p5-Number-Format | |
parent | 29042a2b9c6cfb6f4c73e2fdc1a6ae81496ef083 (diff) | |
download | ports-a2bd91e3a84f83b6f84bcfb755d49d93270cb8e4.tar.gz ports-a2bd91e3a84f83b6f84bcfb755d49d93270cb8e4.zip |
Notes
Diffstat (limited to 'textproc/p5-Number-Format')
-rw-r--r-- | textproc/p5-Number-Format/Makefile | 3 | ||||
-rw-r--r-- | textproc/p5-Number-Format/distinfo | 6 | ||||
-rw-r--r-- | textproc/p5-Number-Format/files/patch-Format.pm | 12 | ||||
-rw-r--r-- | textproc/p5-Number-Format/files/patch-t-locale.t | 11 |
4 files changed, 10 insertions, 22 deletions
diff --git a/textproc/p5-Number-Format/Makefile b/textproc/p5-Number-Format/Makefile index 7099e00fbfe4..92c4ed97b23e 100644 --- a/textproc/p5-Number-Format/Makefile +++ b/textproc/p5-Number-Format/Makefile @@ -6,7 +6,7 @@ # PORTNAME= Number-Format -PORTVERSION= 1.51 +PORTVERSION= 1.52 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Number @@ -22,6 +22,7 @@ MAN3= Number::Format.3 .include <bsd.port.pre.mk> post-patch: + ${PERL} -pi -e 's/en_US/en_US.US-ASCII/' ${WRKSRC}/t/*.t .if ${PERL_LEVEL} < 500800 ${PERL} -pi -e '$$_="" if m{5.008}' ${WRKSRC}/Format.pm .endif diff --git a/textproc/p5-Number-Format/distinfo b/textproc/p5-Number-Format/distinfo index 53d06dd4553a..3110e72e1399 100644 --- a/textproc/p5-Number-Format/distinfo +++ b/textproc/p5-Number-Format/distinfo @@ -1,3 +1,3 @@ -MD5 (Number-Format-1.51.tar.gz) = 0191de22501fa4df10a58a400bd79977 -SHA256 (Number-Format-1.51.tar.gz) = 5b02975dd39379cf472af5f04b6f684fca131a5dce56bbac81d9a469e17edc84 -SIZE (Number-Format-1.51.tar.gz) = 16340 +MD5 (Number-Format-1.52.tar.gz) = 20aba083241f721dc4e0e8dc501ab1c1 +SHA256 (Number-Format-1.52.tar.gz) = 0c465fc6eade7b8150dde58040c56759e5c3022c2b09c7540a0e273c9fd226f2 +SIZE (Number-Format-1.52.tar.gz) = 16363 diff --git a/textproc/p5-Number-Format/files/patch-Format.pm b/textproc/p5-Number-Format/files/patch-Format.pm index d09d288091a8..d5032509deb8 100644 --- a/textproc/p5-Number-Format/files/patch-Format.pm +++ b/textproc/p5-Number-Format/files/patch-Format.pm @@ -1,13 +1,11 @@ ---- Format.pm.orig Thu Apr 27 00:47:37 2006 -+++ Format.pm Thu Apr 27 21:59:09 2006 -@@ -643,8 +643,8 @@ - $decimal .= '0'x($precision - length $decimal); +--- Format.pm.orig Fri Sep 22 08:43:28 2006 ++++ Format.pm Fri Sep 22 08:43:35 2006 +@@ -644,7 +644,7 @@ # Combine it all back together and return it. -- $self->{int_curr_symbol} =~ s/\s+$/ /; + $self->{int_curr_symbol} =~ s/\s*$/ /; - my $result = ($self->{int_curr_symbol} . -+ $self->{int_curr_symbol} =~ s/\s+$//; -+ my $result = ($self->{int_curr_symbol} . ' ' . ++ my $result = ($self->{int_curr_symbol} . ' ' ($precision ? join($self->{mon_decimal_point}, $integer, $decimal) : $integer)); diff --git a/textproc/p5-Number-Format/files/patch-t-locale.t b/textproc/p5-Number-Format/files/patch-t-locale.t deleted file mode 100644 index 26b42393efe8..000000000000 --- a/textproc/p5-Number-Format/files/patch-t-locale.t +++ /dev/null @@ -1,11 +0,0 @@ ---- t/locale.t.orig Thu Apr 27 21:59:24 2006 -+++ t/locale.t Thu Apr 27 21:59:32 2006 -@@ -34,7 +34,7 @@ - } - print "ok 2\n"; - --setlocale(&LC_ALL, "en_US"); -+setlocale(&LC_ALL, "en_US.US-ASCII"); - my $english = new Number::Format(); - print "not " unless ($english->format_price(123456.789) eq 'USD 123,456.79'); - print "ok 3\n"; |