diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-01-23 06:24:30 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2003-01-23 06:24:30 +0000 |
commit | 5dc1571a2855447b637c5d62b060188d8598d53a (patch) | |
tree | 8d996bd3f50e3a229fe8d936df9ea48355dbdcc3 /www/p5-HTML-Template | |
parent | add xmleditor 0.5.3 (diff) |
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/Makefile | 4 |
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 |