Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2010 11:53:51 +1000 (EST)
From:      Emil Mikulic <emikulic@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146166: [patch] mail/p5-Email-Simple needs mail/p5-Email-Date-Format
Message-ID:  <20100430015351.D16855D06@ppp154-240.static.internode.on.net>
Resent-Message-ID: <201004300200.o3U20ACF031585@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100430015351.D16855D06>