aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Log-Log4perl
diff options
context:
space:
mode:
authorLars Thegler <lth@FreeBSD.org>2006-06-02 10:20:17 +0000
committerLars Thegler <lth@FreeBSD.org>2006-06-02 10:20:17 +0000
commitdebcbe9ddcd20c0b1c451d0b74ac9ee2ff2b980b (patch)
treefbfc71d7aa004dc2d0472a505fd05720838d1c66 /devel/p5-Log-Log4perl
parent82ee8966547d17fb995c7491091cedf4c4a2f7e9 (diff)
downloadports-debcbe9ddcd20c0b1c451d0b74ac9ee2ff2b980b.tar.gz
ports-debcbe9ddcd20c0b1c451d0b74ac9ee2ff2b980b.zip
Notes
Diffstat (limited to 'devel/p5-Log-Log4perl')
-rw-r--r--devel/p5-Log-Log4perl/Makefile12
-rw-r--r--devel/p5-Log-Log4perl/distinfo5
-rw-r--r--devel/p5-Log-Log4perl/files/500602-patch-lib__Log__Log4perl__Config__DOMConfigurator.pm10
-rw-r--r--devel/p5-Log-Log4perl/pkg-plist1
4 files changed, 23 insertions, 5 deletions
diff --git a/devel/p5-Log-Log4perl/Makefile b/devel/p5-Log-Log4perl/Makefile
index 62a2cc2d5165..da9dd8de7b6f 100644
--- a/devel/p5-Log-Log4perl/Makefile
+++ b/devel/p5-Log-Log4perl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= Log-Log4perl
-PORTVERSION= 1.03
+PORTVERSION= 1.04
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Log
@@ -31,6 +31,7 @@ MAN3= Log::Log4perl.3 \
Log::Log4perl::Appender::Screen.3 \
Log::Log4perl::Appender::ScreenColoredLevels.3 \
Log::Log4perl::Appender::Socket.3 \
+ Log::Log4perl::Appender::String.3 \
Log::Log4perl::Appender::Synchronized.3 \
Log::Log4perl::Appender::TestArrayBuffer.3 \
Log::Log4perl::Appender::TestBuffer.3 \
@@ -65,4 +66,11 @@ MAN3= Log::Log4perl.3 \
Log::Log4perl::NDC.3 \
Log::Log4perl::Util.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} == 500602
+EXTRA_PATCHES= ${FILESDIR}/500602-patch-lib__Log__Log4perl__Config__DOMConfigurator.pm
+
+post-patch:
+ ${RM} ${WRKSRC}/lib/Log/Log4perl/Config/DOMConfigurator.pm.orig
+.endif
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Log-Log4perl/distinfo b/devel/p5-Log-Log4perl/distinfo
index 9fe0993ddf33..4af07480e9fe 100644
--- a/devel/p5-Log-Log4perl/distinfo
+++ b/devel/p5-Log-Log4perl/distinfo
@@ -1,3 +1,2 @@
-MD5 (Log-Log4perl-1.03.tar.gz) = 2b471ec7e844a2b603239c3808155b56
-SHA256 (Log-Log4perl-1.03.tar.gz) = 64b3203ed19819d713e8f7419e3c4276175ec4c9a51c7a16322587ec838c3a67
-SIZE (Log-Log4perl-1.03.tar.gz) = 211260
+MD5 (Log-Log4perl-1.04.tar.gz) = 5df5587f17e46be23cf50c9eee73046f
+SIZE (Log-Log4perl-1.04.tar.gz) = 213151
diff --git a/devel/p5-Log-Log4perl/files/500602-patch-lib__Log__Log4perl__Config__DOMConfigurator.pm b/devel/p5-Log-Log4perl/files/500602-patch-lib__Log__Log4perl__Config__DOMConfigurator.pm
new file mode 100644
index 000000000000..a83e25f8a7ea
--- /dev/null
+++ b/devel/p5-Log-Log4perl/files/500602-patch-lib__Log__Log4perl__Config__DOMConfigurator.pm
@@ -0,0 +1,10 @@
+--- ./lib/Log/Log4perl/Config/DOMConfigurator.pm.orig Thu Jun 1 23:08:48 2006
++++ ./lib/Log/Log4perl/Config/DOMConfigurator.pm Thu Jun 1 23:09:44 2006
+@@ -61,6 +61,7 @@
+ my $config = $doc->getElementsByTagName("$LOG4J_PREFIX:configuration")->item(0)||
+ $doc->getElementsByTagName("$LOG4PERL_PREFIX:configuration")->item(0);
+
++ use utf8;
+ my $threshold = uc(subst($config->getAttribute('threshold')));
+ if ($threshold) {
+ $l4p_tree->{threshold}{value} = $threshold;
diff --git a/devel/p5-Log-Log4perl/pkg-plist b/devel/p5-Log-Log4perl/pkg-plist
index 5e26ceceab36..25090cc3b6ab 100644
--- a/devel/p5-Log-Log4perl/pkg-plist
+++ b/devel/p5-Log-Log4perl/pkg-plist
@@ -8,6 +8,7 @@
%%SITE_PERL%%/Log/Log4perl/Appender/Screen.pm
%%SITE_PERL%%/Log/Log4perl/Appender/ScreenColoredLevels.pm
%%SITE_PERL%%/Log/Log4perl/Appender/Socket.pm
+%%SITE_PERL%%/Log/Log4perl/Appender/String.pm
%%SITE_PERL%%/Log/Log4perl/Appender/Synchronized.pm
%%SITE_PERL%%/Log/Log4perl/Appender/TestArrayBuffer.pm
%%SITE_PERL%%/Log/Log4perl/Appender/TestBuffer.pm