aboutsummaryrefslogtreecommitdiffstats
path: root/devel/p5-Test-Filename
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2015-06-25 00:05:47 +0800
committeradamw <adamw@FreeBSD.org>2015-06-25 00:05:47 +0800
commitc11285da015cb09ffcc4b4a99ea7b11a51d4fe02 (patch)
tree84b0b0c0a2dc21a7f6268db859daa1442caf71b8 /devel/p5-Test-Filename
parent8204d31027973caed1aaa88b89ac941696b359c9 (diff)
downloadfreebsd-ports-gnome-c11285da015cb09ffcc4b4a99ea7b11a51d4fe02.tar.gz
freebsd-ports-gnome-c11285da015cb09ffcc4b4a99ea7b11a51d4fe02.tar.zst
freebsd-ports-gnome-c11285da015cb09ffcc4b4a99ea7b11a51d4fe02.zip
Switch p5-Test-Tester dependencies to p5-Test-Simple, but only on
perl < 5.22. Bump PORTREVISION where necessary.
Diffstat (limited to 'devel/p5-Test-Filename')
-rw-r--r--devel/p5-Test-Filename/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/devel/p5-Test-Filename/Makefile b/devel/p5-Test-Filename/Makefile
index 4ea4ab5bd374..9b7930a43a5a 100644
--- a/devel/p5-Test-Filename/Makefile
+++ b/devel/p5-Test-Filename/Makefile
@@ -13,10 +13,14 @@ COMMENT= Perl extension for portable filename comparison
RUN_DEPENDS= \
p5-Path-Tiny>0:${PORTSDIR}/devel/p5-Path-Tiny
BUILD_DEPENDS= ${RUN_DEPENDS}
-TEST_DEPENDS= \
- p5-Test-Tester>0:${PORTSDIR}/devel/p5-Test-Tester
USES= perl5
USE_PERL5= configure
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+TEST_DEPENDS+= p5-Test-Simple>=1.001.014:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>