ports/165688: [PATCH] mail/p5-POE-Component-SMTP: add missing DEPENDS

Steve Wills swills at FreeBSD.org
Sun Mar 4 16:30:14 UTC 2012


>Number:         165688
>Category:       ports
>Synopsis:       [PATCH] mail/p5-POE-Component-SMTP: add missing DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 04 16:30:13 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD meatwad.mouf.net 10.0-CURRENT FreeBSD 10.0-CURRENT #14 r232426: Fri Mar  2 21:54:42
>Description:
Port is missing some dependencies, see patch.
Passes tests now.

Port maintainer (skv at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_3 (mode: change, diff: CVS)
>How-To-Repeat:
>Fix:

--- p5-POE-Component-SMTP-1.6_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/p5-POE-Component-SMTP/Makefile,v
retrieving revision 1.4
diff -u -u -r1.4 Makefile
--- Makefile	17 Apr 2008 14:27:04 -0000	1.4
+++ Makefile	4 Mar 2012 16:23:44 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	POE-Component-SMTP
 PORTVERSION=	1.6
+PORTREVISION=	1
 CATEGORIES=	mail devel perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,13 +15,19 @@
 MAINTAINER=	skv at FreeBSD.org
 COMMENT=	SMTP Protocol Implementation
 
-RUN_DEPENDS=	${SITE_PERL}/POE.pm:${PORTSDIR}/devel/p5-POE \
-		${SITE_PERL}/POE/Session/MultiDispatch.pm:${PORTSDIR}/devel/p5-POE-Session-MultiDispatch
-BUILD_DEPENDS=	${RUN_DEPENDS} \
-		${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+BUILD_DEPENDS=	p5-POE>=0:${PORTSDIR}/devel/p5-POE \
+		p5-POE-Session-MultiDispatch>=0:${PORTSDIR}/devel/p5-POE-Session-MultiDispatch \
+		p5-Mail-Tools>=0:${PORTSDIR}/mail/p5-Mail-Tools
+RUN_DEPENS:=	${BUILD_DEPENDS}
 
 PERL_CONFIGURE=	yes
 
 MAN3=		POE::Component::Server::SMTP.3 POE::Filter::SMTP.3
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+=	p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
--- p5-POE-Component-SMTP-1.6_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list