aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-HTML-Template/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-HTML-Template/Makefile')
-rw-r--r--www/p5-HTML-Template/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/p5-HTML-Template/Makefile b/www/p5-HTML-Template/Makefile
index 8ac45eec6c81..fdc43532a3d8 100644
--- a/www/p5-HTML-Template/Makefile
+++ b/www/p5-HTML-Template/Makefile
@@ -25,7 +25,7 @@ post-patch:
.include <bsd.port.mk>
-.if ${OSVERSION} < 500000 && !exists(${SITE_PERL}/File/Spec.pm)
+.if ${PERL_LEVEL} < 500600 && !exists(${SITE_PERL}/File/Spec.pm)
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
.endif