From emil@dmr.ath.cx  Fri Apr 30 01:53:57 2010
Return-Path: <emil@dmr.ath.cx>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 2DFC7106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Apr 2010 01:53:57 +0000 (UTC)
	(envelope-from emil@dmr.ath.cx)
Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143])
	by mx1.freebsd.org (Postfix) with ESMTP id ACA1A8FC1C
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 30 Apr 2010 01:53:56 +0000 (UTC)
Received: from ppp154-240.static.internode.on.net ([150.101.154.240])
  by ipmail05.adl6.internode.on.net with ESMTP; 30 Apr 2010 11:23:53 +0930
Received: by ppp154-240.static.internode.on.net (Poo-fix, from userid 1001)
	id D16855D06; Fri, 30 Apr 2010 11:53:51 +1000 (EST)
Message-Id: <20100430015351.D16855D06@ppp154-240.static.internode.on.net>
Date: Fri, 30 Apr 2010 11:53:51 +1000 (EST)
From: Emil Mikulic <emikulic@gmail.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] mail/p5-Email-Simple needs mail/p5-Email-Date-Format
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         146166
>Category:       ports
>Synopsis:       [patch] mail/p5-Email-Simple needs mail/p5-Email-Date-Format
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    perl
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 30 02:00:09 UTC 2010
>Closed-Date:    Fri Apr 30 06:27:22 UTC 2010
>Last-Modified:  Fri Apr 30 06:30:01 UTC 2010
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->perl 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri Apr 30 02:00:20 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146166 
State-Changed-From-To: open->closed 
State-Changed-By: wen 
State-Changed-When: Fri Apr 30 06:27:21 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146166 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146166: commit references a PR
Date: Fri, 30 Apr 2010 06:25:35 +0000 (UTC)

 wen         2010-04-30 06:25:21 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail/p5-Email-Simple Makefile 
   Log:
   - Add missing dependence
   
   PR:             ports/146166
   Submitted by:   Emil Mikulic <emikulic@gmail.com>
   
   Revision  Changes    Path
   1.25      +4 -0      ports/mail/p5-Email-Simple/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
