aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBIx-QueryLog
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2012-02-29 04:28:36 +0800
committerswills <swills@FreeBSD.org>2012-02-29 04:28:36 +0800
commit24853517446065a768480b61a49956dc15749a3a (patch)
tree94d290b591cdb20512edc64eda10b34706f90f24 /databases/p5-DBIx-QueryLog
parentf52f8d0402f5d94427baa43c71e61ec361584909 (diff)
downloadfreebsd-ports-gnome-24853517446065a768480b61a49956dc15749a3a.tar.gz
freebsd-ports-gnome-24853517446065a768480b61a49956dc15749a3a.tar.zst
freebsd-ports-gnome-24853517446065a768480b61a49956dc15749a3a.zip
- Add TEST_DEPENDS to enable testing
Approved by: portmgr (blanket)
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>