aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-28 09:15:19 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-11-28 09:15:19 +0000
commit512e322ae9370907588ae8aa948a324df25a2112 (patch)
tree9c0bb2ea0b738f663d0a796ecb967ac008ed967c /devel
parentd329ca96c891af7e92d3e012e8c1e8dca16de1ec (diff)
downloadports-512e322ae9370907588ae8aa948a324df25a2112.tar.gz
ports-512e322ae9370907588ae8aa948a324df25a2112.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Const-Fast/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/devel/p5-Const-Fast/Makefile b/devel/p5-Const-Fast/Makefile
index 42d2e765cbde..3edc59bbc582 100644
--- a/devel/p5-Const-Fast/Makefile
+++ b/devel/p5-Const-Fast/Makefile
@@ -21,11 +21,16 @@ LICENSE_COMB= dual
BUILD_DEPENDS= p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
RUN_DEPENDS= p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
-TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
- p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception
PERL_CONFIGURE= yes
MAN3= Const::Fast.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>