Sun Apr 7 02:36:22 2013 UTC ()
defined() on aggregates is deprecated.  Bump PKGREISION.


(markd)
diff -r1.13 -r1.14 pkgsrc/misc/p5-I18N-LangTags/Makefile
diff -r1.3 -r1.4 pkgsrc/misc/p5-I18N-LangTags/distinfo
diff -r0 -r1.1 pkgsrc/misc/p5-I18N-LangTags/patches/patch-lib_I18N_LangTags_Detect.pm

cvs diff -r1.13 -r1.14 pkgsrc/misc/p5-I18N-LangTags/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/misc/p5-I18N-LangTags/Attic/Makefile 2012/10/08 09:57:33 1.13
+++ pkgsrc/misc/p5-I18N-LangTags/Attic/Makefile 2013/04/07 02:36:22 1.14
@@ -1,18 +1,21 @@ @@ -1,18 +1,21 @@
1# $NetBSD: Makefile,v 1.13 2012/10/08 09:57:33 asau Exp $ 1# $NetBSD: Makefile,v 1.14 2013/04/07 02:36:22 markd Exp $
2# 2#
3 3
4DISTNAME= I18N-LangTags-0.35 4DISTNAME= I18N-LangTags-0.35
5PKGNAME= p5-${DISTNAME} 5PKGNAME= p5-${DISTNAME}
6PKGREVISION= 5 6PKGREVISION= 6
7SVR4_PKGNAME= p5ilt 7SVR4_PKGNAME= p5ilt
8CATEGORIES= misc perl5 8CATEGORIES= misc perl5
9MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=I18N/} 9MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=I18N/}
10 10
11MAINTAINER= pkgsrc-users@NetBSD.org 11MAINTAINER= pkgsrc-users@NetBSD.org
12HOMEPAGE= http://search.cpan.org/dist/I18N-LangTags/ 12HOMEPAGE= http://search.cpan.org/dist/I18N-LangTags/
13COMMENT= Perl5 functions for dealing with RFC3066-style language tags 13COMMENT= Perl5 functions for dealing with RFC3066-style language tags
14 14
15PERL5_PACKLIST= auto/I18N/LangTags/.packlist 15PERL5_PACKLIST= auto/I18N/LangTags/.packlist
16 16
 17post-patch:
 18 rm ${WRKSRC}/lib/I18N/LangTags/Detect.pm.orig
 19
17.include "../../lang/perl5/module.mk" 20.include "../../lang/perl5/module.mk"
18.include "../../mk/bsd.pkg.mk" 21.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/misc/p5-I18N-LangTags/Attic/distinfo (expand / switch to unified diff)

--- pkgsrc/misc/p5-I18N-LangTags/Attic/distinfo 2005/03/02 22:22:29 1.3
+++ pkgsrc/misc/p5-I18N-LangTags/Attic/distinfo 2013/04/07 02:36:22 1.4
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.3 2005/03/02 22:22:29 wiz Exp $ 1$NetBSD: distinfo,v 1.4 2013/04/07 02:36:22 markd Exp $
2 2
3SHA1 (I18N-LangTags-0.35.tar.gz) = e9761fb9706a1a8e07a631def1348c107880d0e4 3SHA1 (I18N-LangTags-0.35.tar.gz) = e9761fb9706a1a8e07a631def1348c107880d0e4
4RMD160 (I18N-LangTags-0.35.tar.gz) = 7d63e09e86cd516391f52fe43af531a53aacff16 4RMD160 (I18N-LangTags-0.35.tar.gz) = 7d63e09e86cd516391f52fe43af531a53aacff16
5Size (I18N-LangTags-0.35.tar.gz) = 30636 bytes 5Size (I18N-LangTags-0.35.tar.gz) = 30636 bytes
 6SHA1 (patch-lib_I18N_LangTags_Detect.pm) = e39cdb6edaafd678c2ac2cc1ba212122315563b6

File Added: pkgsrc/misc/p5-I18N-LangTags/patches/Attic/patch-lib_I18N_LangTags_Detect.pm
$NetBSD: patch-lib_I18N_LangTags_Detect.pm,v 1.1 2013/04/07 02:36:22 markd Exp $

defined() on aggregates is deprecated.

--- lib/I18N/LangTags/Detect.pm.orig	2004-06-21 05:47:55.000000000 +0000
+++ lib/I18N/LangTags/Detect.pm
@@ -137,7 +137,7 @@ sub _try_use {   # Basically a wrapper a
   my $module = $_[0];   # ASSUME sane module name!
   { no strict 'refs';
     return($tried{$module} = 1)
-     if defined(%{$module . "::Lexicon"}) or defined(@{$module . "::ISA"});
+     if (%{$module . "::Lexicon"}) or (@{$module . "::ISA"});
     # weird case: we never use'd it, but there it is!
   }