Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2012 20:13:57 -0500 (EST)
From:      Steve Wills <swills@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        kuriyama@FreeBSD.org
Subject:   ports/164777: [PATCH] devel/p5-Test-MockObject: add BUILD_DEPENDS to silence build warnings, add TEST_DEPENDS to enable testing
Message-ID:  <201202050113.q151DvL5070234@meatwad.mouf.net>
Resent-Message-ID: <201202050120.q151K75q012109@freefall.freebsd.org>

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

>Number:         164777
>Category:       ports
>Synopsis:       [PATCH] devel/p5-Test-MockObject: add BUILD_DEPENDS to silence build warnings, add TEST_DEPENDS to enable testing
>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 Feb 05 01:20:06 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 #13 r230974: Fri Feb  3 23:48:36
>Description:
see patch

If you'd like me to commit this, just let me know you approve. :)

Port maintainer (kuriyama@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- p5-Test-MockObject-1.20110612.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/p5-Test-MockObject/Makefile,v
retrieving revision 1.16
diff -u -u -r1.16 Makefile
--- Makefile	5 Jul 2011 13:40:37 -0000	1.16
+++ Makefile	5 Feb 2012 01:12:48 -0000
@@ -14,12 +14,22 @@
 MAINTAINER=	kuriyama@FreeBSD.org
 COMMENT=	Tests remote URLs or local web files
 
+BUILD_DEPENDS=	p5-UNIVERSAL-can>=1.16:${PORTSDIR}/devel/p5-UNIVERSAL-can \
+		p5-UNIVERSAL-isa>=1.03:${PORTSDIR}/devel/p5-UNIVERSAL-isa
 RUN_DEPENDS=	p5-UNIVERSAL-can>=1.16:${PORTSDIR}/devel/p5-UNIVERSAL-can \
 		p5-UNIVERSAL-isa>=1.03:${PORTSDIR}/devel/p5-UNIVERSAL-isa
+TEST_DEPENDS=	p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
+		p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
 
 PERL_CONFIGURE=	yes
 INSTALL_TARGET=	pure_install
 
 MAN3=		Test::MockObject.3 Test::MockObject::Extends.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-Test-MockObject-1.20110612.patch ends here ---

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



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