Thu Jul 31 19:53:38 2014 UTC ()
`use base` claims to be able to find the named parent module even
when it's defined otherwise than a separate file with a matching
name. When committing to the NetBSD wiki, I'm seeing RPC::XML errors
that suggest otherwise ("Can't locate RPC/XML/datatype.pm" and so on).

I don't know why we're having this problem on wiki.n.o and I haven't
managed to reproduce it elsewhere, but it sure looks fixed after
switching to `use parent -norequire`. `use parent` seems to be
generally preferred usage anyway.

Bump PKGREVISION.


(schmonz)
diff -r1.17 -r1.18 pkgsrc/net/p5-RPC-XML/Makefile

cvs diff -r1.17 -r1.18 pkgsrc/net/p5-RPC-XML/Makefile (expand / switch to unified diff)

--- pkgsrc/net/p5-RPC-XML/Makefile 2014/07/30 21:55:25 1.17
+++ pkgsrc/net/p5-RPC-XML/Makefile 2014/07/31 19:53:38 1.18
@@ -1,30 +1,36 @@ @@ -1,30 +1,36 @@
1# $NetBSD: Makefile,v 1.17 2014/07/30 21:55:25 schmonz Exp $ 1# $NetBSD: Makefile,v 1.18 2014/07/31 19:53:38 schmonz Exp $
2 2
3DISTNAME= RPC-XML-0.78 3DISTNAME= RPC-XML-0.78
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
 5PKGREVISION= 1
5CATEGORIES= net www perl5 6CATEGORIES= net www perl5
6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=RPC/} 7MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=RPC/}
7 8
8MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://www.blackperl.com/RPC::XML/ 10HOMEPAGE= http://www.blackperl.com/RPC::XML/
10#HOMEPAGE= http://search.cpan.org/dist/RPC-XML/ 11#HOMEPAGE= http://search.cpan.org/dist/RPC-XML/
11COMMENT= XML-RPC client and server library for Perl 12COMMENT= XML-RPC client and server library for Perl
12LICENSE= ${PERL5_LICENSE} 13LICENSE= ${PERL5_LICENSE}
13 14
14DEPENDS+= {perl>=5.10,p5-PathTools>=0.8}:../../devel/p5-PathTools 15DEPENDS+= {perl>=5.10,p5-PathTools>=0.8}:../../devel/p5-PathTools
15DEPENDS+= {perl>=5.10,p5-Scalar-List-Utils>=1.19}:../../devel/p5-Scalar-List-Utils 16DEPENDS+= {perl>=5.10,p5-Scalar-List-Utils>=1.19}:../../devel/p5-Scalar-List-Utils
16#DEPENDS+= p5-Module-Load>=0.24:../../devel/p5-Module-Load 17#DEPENDS+= p5-Module-Load>=0.24:../../devel/p5-Module-Load
17DEPENDS+= p5-XML-LibXML>=1.85:../../textproc/p5-XML-LibXML 18DEPENDS+= p5-XML-LibXML>=1.85:../../textproc/p5-XML-LibXML
18DEPENDS+= p5-XML-Parser>=2.31:../../textproc/p5-XML-Parser 19DEPENDS+= p5-XML-Parser>=2.31:../../textproc/p5-XML-Parser
19DEPENDS+= p5-libwww>=5.834:../../www/p5-libwww 20DEPENDS+= p5-libwww>=5.834:../../www/p5-libwww
20DEPENDS+= p5-DateTime>=0.70:../../time/p5-DateTime 21DEPENDS+= p5-DateTime>=0.70:../../time/p5-DateTime
21DEPENDS+= p5-DateTime-Format-ISO8601>=0.07:../../time/p5-DateTime-Format-ISO8601 22DEPENDS+= p5-DateTime-Format-ISO8601>=0.07:../../time/p5-DateTime-Format-ISO8601
22DEPENDS+= p5-Compress-Raw-Zlib>=2.063:../../devel/p5-Compress-Raw-Zlib 23DEPENDS+= p5-Compress-Raw-Zlib>=2.063:../../devel/p5-Compress-Raw-Zlib
23 24
24USE_TOOLS+= gmake 25USE_TOOLS+= gmake
25USE_LANGUAGES= # empty 26USE_LANGUAGES= # empty
26 27
 28SUBST_CLASSES+= usebase
 29SUBST_STAGE.usebase= post-patch
 30SUBST_FILES.usebase= lib/RPC/XML.pm
 31SUBST_SED.usebase= -e "s|^use base 'RPC::XML::|use parent -norequire, 'RPC::XML::|g"
 32
27PERL5_PACKLIST= auto/RPC/XML/.packlist 33PERL5_PACKLIST= auto/RPC/XML/.packlist
28 34
29.include "../../lang/perl5/module.mk" 35.include "../../lang/perl5/module.mk"
30.include "../../mk/bsd.pkg.mk" 36.include "../../mk/bsd.pkg.mk"