diff options
author | schmonz <schmonz@pkgsrc.org> | 2014-07-31 19:53:38 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2014-07-31 19:53:38 +0000 |
commit | c6b261ee04a4298500dc66ec70892b38d1ca6896 (patch) | |
tree | eab4e5debf36cba4a5d406e7e41ef01514997443 /net/p5-RPC-XML | |
parent | a124a0796fc541766a6ba27b4d3de609074f39d6 (diff) | |
download | pkgsrc-c6b261ee04a4298500dc66ec70892b38d1ca6896.tar.gz |
`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.
Diffstat (limited to 'net/p5-RPC-XML')
-rw-r--r-- | net/p5-RPC-XML/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/net/p5-RPC-XML/Makefile b/net/p5-RPC-XML/Makefile index fcc9b20fa06..3a892601a57 100644 --- a/net/p5-RPC-XML/Makefile +++ b/net/p5-RPC-XML/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.17 2014/07/30 21:55:25 schmonz Exp $ +# $NetBSD: Makefile,v 1.18 2014/07/31 19:53:38 schmonz Exp $ DISTNAME= RPC-XML-0.78 PKGNAME= p5-${DISTNAME} +PKGREVISION= 1 CATEGORIES= net www perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=RPC/} @@ -24,6 +25,11 @@ DEPENDS+= p5-Compress-Raw-Zlib>=2.063:../../devel/p5-Compress-Raw-Zlib USE_TOOLS+= gmake USE_LANGUAGES= # empty +SUBST_CLASSES+= usebase +SUBST_STAGE.usebase= post-patch +SUBST_FILES.usebase= lib/RPC/XML.pm +SUBST_SED.usebase= -e "s|^use base 'RPC::XML::|use parent -norequire, 'RPC::XML::|g" + PERL5_PACKLIST= auto/RPC/XML/.packlist .include "../../lang/perl5/module.mk" |