diff options
author | swills <swills@FreeBSD.org> | 2012-02-05 21:50:10 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2012-02-05 21:50:10 +0800 |
commit | de56ad488b232ec29c8fe08b721a9e1da650c03c (patch) | |
tree | 9f8d2787b6cfc87d18646e9e44a59fbf20b40487 | |
parent | 733153916e79ab4048dd0afdabb432d13734b646 (diff) | |
download | freebsd-ports-graphics-de56ad488b232ec29c8fe08b721a9e1da650c03c.tar.gz freebsd-ports-graphics-de56ad488b232ec29c8fe08b721a9e1da650c03c.tar.zst freebsd-ports-graphics-de56ad488b232ec29c8fe08b721a9e1da650c03c.zip |
- Add missing BUILD_DEPENDS to silence build warnings
- Add TEST_DEPENDS to enable testing
PR: ports/164777
Submitted by: swills (myself)
Approved by: maintainer (blanket)
-rw-r--r-- | devel/p5-Test-MockObject/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/devel/p5-Test-MockObject/Makefile b/devel/p5-Test-MockObject/Makefile index 14ca3606d13..1617b926c88 100644 --- a/devel/p5-Test-MockObject/Makefile +++ b/devel/p5-Test-MockObject/Makefile @@ -14,12 +14,22 @@ PKGNAMEPREFIX= p5- 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> |