diff options
author | kuriyama <kuriyama@FreeBSD.org> | 2003-01-23 06:26:21 +0000 |
---|---|---|
committer | kuriyama <kuriyama@FreeBSD.org> | 2003-01-23 06:26:21 +0000 |
commit | 0c6638d3dd5e543559af813fd2f1d5036b0a4696 (patch) | |
tree | 1eccfa04dff4eac7bcc54228b7455a32a6e11e1e /archivers | |
parent | 9cd108675ae2e5753cc3bb37ca66d039213725ae (diff) | |
download | FreeBSD-ports-0c6638d3dd5e543559af813fd2f1d5036b0a4696.zip FreeBSD-ports-0c6638d3dd5e543559af813fd2f1d5036b0a4696.tar.gz |
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).
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/p5-Archive-Zip/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/archivers/p5-Archive-Zip/Makefile b/archivers/p5-Archive-Zip/Makefile index 09c0268..2f5846e 100644 --- a/archivers/p5-Archive-Zip/Makefile +++ b/archivers/p5-Archive-Zip/Makefile @@ -24,8 +24,7 @@ MAN3= Archive::Zip.3 Archive::Zip::Tree.3 Archive::Zip::FAQ.3 Archive::Zip::Mem .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.8' -.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 |