diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2004-08-10 10:42:57 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2004-08-10 10:42:57 +0000 |
commit | 0add024bf3fecb6e6b063a4087faa5d0b13ae5db (patch) | |
tree | f7f8f433031f7338f4212c4606f79226e1ba3f98 /archivers | |
parent | e44462539f5e8667f468026acd23d9064f914cd6 (diff) | |
download | ports-0add024bf3fecb6e6b063a4087faa5d0b13ae5db.tar.gz ports-0add024bf3fecb6e6b063a4087faa5d0b13ae5db.zip |
Notes
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> |