aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-Template
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2003-01-23 06:24:30 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2003-01-23 06:24:30 +0000
commit5dc1571a2855447b637c5d62b060188d8598d53a (patch)
tree8d996bd3f50e3a229fe8d936df9ea48355dbdcc3 /www/p5-HTML-Template
parent2700a2b5130eb28a4ef5c63a20579f407a373ec3 (diff)
downloadports-5dc1571a2855447b637c5d62b060188d8598d53a.tar.gz
ports-5dc1571a2855447b637c5d62b060188d8598d53a.zip
Simplify decection of File::Spec to avoid INDEX generation breakage.
You shoud check to be installed latest perl5 port (5.x) or latest File::Spec module (4.x). Reviewed by: kris
Notes
Notes: svn path=/head/; revision=73837
Diffstat (limited to 'www/p5-HTML-Template')
-rw-r--r--www/p5-HTML-Template/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/www/p5-HTML-Template/Makefile b/www/p5-HTML-Template/Makefile
index 67285918597b..8daf001cd826 100644
--- a/www/p5-HTML-Template/Makefile
+++ b/www/p5-HTML-Template/Makefile
@@ -24,9 +24,7 @@ post-patch:
.include <bsd.port.mk>
-# ${PERL} defined after bsd.port.post.mk. So place this after .include line.
-USE_FILESPEC!= ${PERL} -MFile::Spec -e 'print $$File::Spec::VERSION<0.82'
-.if (${USE_FILESPEC} == 1)
+.if ${OSVERSION} < 500000 && !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