From ddcc0de9218039c78eb34c7bc64fadb4dfe7a707 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Tue, 21 Sep 2010 07:56:43 +0000 Subject: Change dependency on old p5-Compress-Zlib, p5-IO-Compress-Base, p5-IO-Compress-Zlib and p5-IO-Compress-Bzip2 modules to p5-IO-Compress. Explicitly depend on p5-IO-Compress only if PERL_LEVEL < 500903 Bump PORTREVISION --- www/p5-CGI-Compress-Gzip/Makefile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'www/p5-CGI-Compress-Gzip') diff --git a/www/p5-CGI-Compress-Gzip/Makefile b/www/p5-CGI-Compress-Gzip/Makefile index 3c2595da1355..67fb61f72379 100644 --- a/www/p5-CGI-Compress-Gzip/Makefile +++ b/www/p5-CGI-Compress-Gzip/Makefile @@ -7,6 +7,7 @@ PORTNAME= CGI-Compress-Gzip PORTVERSION= 1.03 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN MASTER_SITE_SUBDIR= CGI @@ -15,13 +16,19 @@ PKGNAMEPREFIX= p5- MAINTAINER= tobez@FreeBSD.org COMMENT= CGI::Compress::Gzip - CGI with automatically compressed output -BUILD_DEPENDS= p5-IO-Zlib>=1.01:${PORTSDIR}/archivers/p5-IO-Zlib \ - p5-Compress-Zlib>=2:${PORTSDIR}/archivers/p5-Compress-Zlib -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= p5-IO-Zlib>=1.01:${PORTSDIR}/archivers/p5-IO-Zlib +RUN_DEPENDS= p5-IO-Zlib>=1.01:${PORTSDIR}/archivers/p5-IO-Zlib PERL_MODBUILD= yes MAN3= CGI::Compress::Gzip.3 \ CGI::Compress::Gzip::FileHandle.3 -.include +.include + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +BUILD_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include -- cgit v1.2.3