Ok - Module::Pluggable > 2.97 is in Makefile.PL needed at runtime.

Changes says

2.201     2015-03-05
          ** PLEASE CONSIDER USING EMAIL-SENDER INSTEAD **

          add x_deprecated metadata


Need to think about updating your script...

$ pkg_info p5-Email-Sender
Information for
file:/usr/ports/packages/amd64/all/p5-Email-Sender-1.300018.tgz

Comment:
library for sending email

Description:
Email::Sender replaces the old and sometimes problematic Email::Send
library, which did a decent job at handling very simple email sending
tasks, but was not suitable for serious use, for a variety of reasons.



On 08/09/16 08:02, Matthieu Herrb wrote:
> Hi,
> 
> A perl script I'm using is depending on mail/p5-Email-Send. Since
> a couple of months, it's failing on OpenBSD machines because
> Email:Send can't be loaded :
> 
> 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.3 
> /usr/local/libdata/perl5/amd64-openbsd/5.20.3 /usr/libdata/perl5 
> /usr/local/libdata/perl5 .) at 
> /usr/local/libdata/perl5/site_perl/Email/Send.pm line 10. BEGIN
> failed--compilation aborted at 
> /usr/local/libdata/perl5/site_perl/Email/Send.pm line 10.
> 
> So it looks like something like the patch below is needed... ok?
> 
> Index: Makefile 
> ===================================================================
>
> 
RCS file: /cvs/OpenBSD/ports/mail/p5-Email-Send/Makefile,v
> retrieving revision 1.16 diff -u -r1.16 Makefile --- Makefile 20
> Mar 2016 19:56:45 -0000       1.16 +++ Makefile       9 Aug 2016 07:01:27
> -0000 @@ -6,12 +6,14 @@ PKG_ARCH=     *
> 
> DISTNAME=     Email-Send-2.201 +REVISION=     0 CATEGORIES=   mail
> 
> # Perl PERMIT_PACKAGE_CDROM=  Yes
> 
> -RUN_DEPENDS= devel/p5-Return-Value \ +RUN_DEPENDS=
> devel/p5-Module-Pluggable \ +         devel/p5-Return-Value \ 
> mail/p5-Email-Address \ mail/p5-Email-Simple
> 
> 

Reply via email to