ports/164777: [PATCH] devel/p5-Test-MockObject: add BUILD_DEPENDS to silence build warnings, add TEST_DEPENDS to enable testing
Steve Wills
swills at FreeBSD.org
Sun Feb 5 01:20:07 UTC 2012
>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 at 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 at 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:
More information about the freebsd-ports-bugs
mailing list