aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Test-Reporter/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Test-Reporter/Makefile')
-rw-r--r--devel/p5-Test-Reporter/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/devel/p5-Test-Reporter/Makefile b/devel/p5-Test-Reporter/Makefile
index 022fe8979128..c033fd943f0d 100644
--- a/devel/p5-Test-Reporter/Makefile
+++ b/devel/p5-Test-Reporter/Makefile
@@ -25,9 +25,12 @@ MAN3= Test::Reporter.3
.include <bsd.port.pre.mk>
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+.include <bsd.port.post.mk>
.if ${PERL_LEVEL} < 500601
-BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec \
- ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
.endif
.include <bsd.port.post.mk>