pkgsrc/net/p5-RPC-XML/Makefile
schmonz bc86c1330c 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.
2014-07-31 19:53:38 +00:00

36 lines
1.3 KiB
Makefile

# $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/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.blackperl.com/RPC::XML/
#HOMEPAGE= http://search.cpan.org/dist/RPC-XML/
COMMENT= XML-RPC client and server library for Perl
LICENSE= ${PERL5_LICENSE}
DEPENDS+= {perl>=5.10,p5-PathTools>=0.8}:../../devel/p5-PathTools
DEPENDS+= {perl>=5.10,p5-Scalar-List-Utils>=1.19}:../../devel/p5-Scalar-List-Utils
#DEPENDS+= p5-Module-Load>=0.24:../../devel/p5-Module-Load
DEPENDS+= p5-XML-LibXML>=1.85:../../textproc/p5-XML-LibXML
DEPENDS+= p5-XML-Parser>=2.31:../../textproc/p5-XML-Parser
DEPENDS+= p5-libwww>=5.834:../../www/p5-libwww
DEPENDS+= p5-DateTime>=0.70:../../time/p5-DateTime
DEPENDS+= p5-DateTime-Format-ISO8601>=0.07:../../time/p5-DateTime-Format-ISO8601
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"
.include "../../mk/bsd.pkg.mk"