diff options
author | mat <mat@FreeBSD.org> | 2004-08-10 18:42:57 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-08-10 18:42:57 +0800 |
commit | 1198160231a47416fa84644be6903b7a983e7e13 (patch) | |
tree | dfa554bc6c50eebed293fe0b56d71d68a32cf495 /archivers | |
parent | 19de5c6befddb8cf44bd04de48eaafac5ed9fd24 (diff) | |
download | freebsd-ports-gnome-1198160231a47416fa84644be6903b7a983e7e13.tar.gz freebsd-ports-gnome-1198160231a47416fa84644be6903b7a983e7e13.tar.zst freebsd-ports-gnome-1198160231a47416fa84644be6903b7a983e7e13.zip |
Fix Build with perl5.8
Approved by: erwin (maintainer)
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/p5-Archive-Zip/Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/archivers/p5-Archive-Zip/Makefile b/archivers/p5-Archive-Zip/Makefile index d8002256c4d2..e7ed20d4e112 100644 --- a/archivers/p5-Archive-Zip/Makefile +++ b/archivers/p5-Archive-Zip/Makefile @@ -15,8 +15,7 @@ PKGNAMEPREFIX= p5- MAINTAINER= erwin@FreeBSD.org COMMENT= Perl module to create, manipulate, read, and write Zip archive files -BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ - ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes @@ -25,9 +24,11 @@ MAN3= Archive::Zip.3 Archive::Zip::Tree.3 Archive::Zip::FAQ.3 Archive::Zip::Mem .include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp .if ${PERL_LEVEL} < 500601 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 .endif .include <bsd.port.post.mk> |