ports/146166: [patch] mail/p5-Email-Simple needs mail/p5-Email-Date-Format
Emil Mikulic
emikulic at gmail.com
Fri Apr 30 02:00:10 UTC 2010
>Number: 146166
>Category: ports
>Synopsis: [patch] mail/p5-Email-Simple needs mail/p5-Email-Date-Format
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Apr 30 02:00:09 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Emil Mikulic
>Release:
>Organization:
>Environment:
>Description:
mail/p5-Email-Simple requires mail/p5-Email-Date-Format.
The attached diff adds the dependency to the port Makefile.
>How-To-Repeat:
$ perl -e 'use Email::Simple; my $email = Email::Simple->create;'
Can't locate Email/Date/Format.pm in @INC (@INC contains: /usr/local/lib/perl5/5.10.1/BSDPAN /usr/local/lib/perl5/site_perl/5.10.1/mach /usr/local/lib/perl5/site_perl/5.10.1 /usr/local/lib/perl5/5.10.1/mach /usr/local/lib/perl5/5.10.1 .) at /usr/local/lib/perl5/site_perl/5.10.1/Email/Simple/Creator.pm line 12.
Also, META.yml specifies it:
$ grep -A2 requires work/Email-Simple-2.100/META.yml
configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
ExtUtils::MakeMaker: 0
requires:
Email::Date::Format: 0
Test::More: 0.47
>Fix:
diff -Nur /usr/ports/mail/p5-Email-Simple/Makefile p5-Email-Simple/Makefile
--- /usr/ports/mail/p5-Email-Simple/Makefile 2009-11-04 22:30:46.000000000 +1100
+++ p5-Email-Simple/Makefile 2010-04-30 11:45:50.000000000 +1000
@@ -15,6 +15,9 @@
MAINTAINER= perl at FreeBSD.org
COMMENT= Simple parsing of RFC2822 message format and headers
+BUILD_DEPENDS= p5-Email-Date-Format>=0:${PORTSDIR}/mail/p5-Email-Date-Format
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
PERL_CONFIGURE= yes
MAN3= Email::Simple.3 \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list