diff options
author | lth <lth@FreeBSD.org> | 2006-06-02 18:20:17 +0800 |
---|---|---|
committer | lth <lth@FreeBSD.org> | 2006-06-02 18:20:17 +0800 |
commit | 092ace234aee3c7d2934451e4230cb20300b2c37 (patch) | |
tree | 7c5c78f4163a26ee535e9d3f536aaba84275eb1f /devel | |
parent | 5a342e69f1147486831c23eed42376ff567560d9 (diff) | |
download | freebsd-ports-gnome-092ace234aee3c7d2934451e4230cb20300b2c37.tar.gz freebsd-ports-gnome-092ace234aee3c7d2934451e4230cb20300b2c37.tar.zst freebsd-ports-gnome-092ace234aee3c7d2934451e4230cb20300b2c37.zip |
- Update to 1.04
PR: ports/97413
Submitted by: Christopher Boumenot <boumenot@gmail.com>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/p5-Log-Log4perl/Makefile | 12 | ||||
-rw-r--r-- | devel/p5-Log-Log4perl/distinfo | 5 | ||||
-rw-r--r-- | devel/p5-Log-Log4perl/files/500602-patch-lib__Log__Log4perl__Config__DOMConfigurator.pm | 10 | ||||
-rw-r--r-- | devel/p5-Log-Log4perl/pkg-plist | 1 |
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 |