aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gpt
diff options
context:
space:
mode:
authormm <mm@FreeBSD.org>2010-09-21 15:56:43 +0800
committermm <mm@FreeBSD.org>2010-09-21 15:56:43 +0800
commita447d3207d987ddc5b4cb16345ffd07b474aea9c (patch)
tree740d2c4dbf9c6b5d7e0a621cb113b01436081f94 /misc/gpt
parent755a0561c300f159d88d880440dc70a9ae0425e2 (diff)
downloadfreebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.gz
freebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.tar.zst
freebsd-ports-gnome-a447d3207d987ddc5b4cb16345ffd07b474aea9c.zip
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
Diffstat (limited to 'misc/gpt')
-rw-r--r--misc/gpt/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/misc/gpt/Makefile b/misc/gpt/Makefile
index 441490d9a824..467856b24efa 100644
--- a/misc/gpt/Makefile
+++ b/misc/gpt/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gpt
PORTVERSION= 3.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= misc archivers devel parallel
MASTER_SITES= ftp://ftp.globus.org/pub/gt4/4.0/4.0.0/gpt/
DISTNAME= gpt-${PORTVERSION}autotools2004-src
@@ -18,7 +18,6 @@ COMMENT= Grid Packaging Tools (used to install Globus)
CONFLICTS= gpt-3.1*
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
@@ -55,4 +54,10 @@ do-install:
@cd ${WRKSRC}; \
GPT_LOCATION=${PREFIX} ./build_gpt --with-perl=${PERL}
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>