diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-01-23 14:24:30 +0800 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-01-23 14:24:30 +0800 |
commit | 9cd108675ae2e5753cc3bb37ca66d039213725ae (patch) | |
tree | 1216c7af5fe43783137793d2bc4b35049a41743b /www/p5-HTML-Template | |
parent | 3c46412ccb5f740f6cbeae805b2b68b6cd011a71 (diff) | |
download | freebsd-ports-gnome-9cd108675ae2e5753cc3bb37ca66d039213725ae.tar.gz freebsd-ports-gnome-9cd108675ae2e5753cc3bb37ca66d039213725ae.tar.zst freebsd-ports-gnome-9cd108675ae2e5753cc3bb37ca66d039213725ae.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
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 |