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
 

-- 
Matthieu Herrb

Attachment: signature.asc
Description: PGP signature

Reply via email to