On 2015/02/20 12:00, Sunil Nimmagadda wrote:
> Hi,
> 
> Module::Pluggable is removed from Perl core distribution. perlcritic
> now fails to run with this message...

Add a REVISION bump too, then this is OK sthen@.


> Can't load Policies from namespace "Perl::Critic::Policy": Can't
> locate Module/Pluggable.pm in @INC (you may need to install the
> Module::Pluggable module) (@INC contains:
> /usr/local/libdata/perl5/site_perl/amd64-openbsd
> /usr/libdata/perl5/site_perl/amd64-openbsd
> /usr/local/libdata/perl5/site_perl /usr/libdata/perl5/site_perl
> /usr/libdata/perl5/amd64-openbsd/5.20.1
> /usr/local/libdata/perl5/amd64-openbsd/5.20.1 /usr/libdata/perl5
> /usr/local/libdata/perl5 .) at
> /usr/local/libdata/perl5/site_perl/Perl/Critic/PolicyFactory
> 
> Update BUILD_DEPENDS to include devel/p5-Module-Pluggable.
> 
> $ sysctl kern.version
> kern.version=OpenBSD 5.7-beta (GENERIC.MP) #856: Tue Feb 17 12:43:12 MST 2015
>     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/p5-Perl-Critic/Makefile,v
> retrieving revision 1.17
> diff -u -p -r1.17 Makefile
> --- Makefile  19 May 2013 20:05:28 -0000      1.17
> +++ Makefile  20 Feb 2015 10:36:24 -0000
> @@ -15,6 +15,7 @@ RUN_DEPENDS=        devel/p5-B-Keywords \
>               devel/p5-Exception-Class>=1.23 \
>               devel/p5-File-HomeDir \
>               textproc/p5-PPI>=1.208 \
> +             devel/p5-Module-Pluggable \
>               devel/p5-Readonly-XS \
>               devel/p5-Set-Scalar \
>               devel/p5-String-Format \
> 

Reply via email to