aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-QueryLog
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2012-02-28 20:28:36 +0000
committerSteve Wills <swills@FreeBSD.org>2012-02-28 20:28:36 +0000
commit1029dc0c16bfc782ec891872ca2323d6aaa1bc84 (patch)
treeda399088c3f1fb9c5a7827b3289d8d396fe6d9f4 /databases/p5-DBIx-QueryLog
parenta26e918289005958022dd2921dfb149975dc5d37 (diff)
downloadports-1029dc0c16bfc782ec891872ca2323d6aaa1bc84.tar.gz
ports-1029dc0c16bfc782ec891872ca2323d6aaa1bc84.zip
Notes
Diffstat (limited to 'databases/p5-DBIx-QueryLog')
-rw-r--r--databases/p5-DBIx-QueryLog/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/p5-DBIx-QueryLog/Makefile b/databases/p5-DBIx-QueryLog/Makefile
index 6ad911a830f7..794a27fbde3c 100644
--- a/databases/p5-DBIx-QueryLog/Makefile
+++ b/databases/p5-DBIx-QueryLog/Makefile
@@ -17,9 +17,16 @@ COMMENT= Perl extension for logging queries for DBI
RUN_DEPENDS= \
p5-DBI>0:${PORTSDIR}/databases/p5-DBI
BUILD_DEPENDS= ${RUN_DEPENDS}
+TEST_DEPENDS= p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires
PERL_CONFIGURE= yes
MAN3= DBIx::QueryLog.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501400
+TEST_DEPENDS+= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>