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 --- misc/gpt31/Makefile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'misc/gpt31') diff --git a/misc/gpt31/Makefile b/misc/gpt31/Makefile index 2935e4f82283..6a830070497f 100644 --- a/misc/gpt31/Makefile +++ b/misc/gpt31/Makefile @@ -7,7 +7,7 @@ PORTNAME= gpt PORTVERSION= 3.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= misc archivers devel parallel MASTER_SITES= ftp://ftp.ncsa.uiuc.edu/aces/gpt/releases/gpt-${PORTVERSION}/ DISTNAME= ${PORTNAME}-${PORTVERSION}-src @@ -19,7 +19,6 @@ CONFLICTS= gpt-* NO_LATEST_LINK= YES RUN_DEPENDS+= ${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \ - ${SITE_PERL}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib \ ${SITE_PERL}/IO/Zlib.pm:${PORTSDIR}/archivers/p5-IO-Zlib \ ${LOCALBASE}/bin/gmake:${PORTSDIR}/devel/gmake \ ${LOCALBASE}/bin/makepatch:${PORTSDIR}/textproc/makepatch @@ -56,4 +55,10 @@ do-install: @cd ${WRKSRC}; \ GPT_LOCATION=${PREFIX} ./build_gpt --with-perl=${PERL} -.include +.include + +.if ${PERL_LEVEL} < 500903 +RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress +.endif + +.include -- cgit v1.2.3