aboutsummaryrefslogtreecommitdiffstats
path: root/archivers
diff options
context:
space:
mode:
authorjadawin <jadawin@FreeBSD.org>2008-07-07 23:28:02 +0800
committerjadawin <jadawin@FreeBSD.org>2008-07-07 23:28:02 +0800
commitacbcb19539a8b6584661bb6e6196a29b8debcc68 (patch)
treea0491f4ca345a07d821fe54a7b23e7ad0178cff0 /archivers
parent9f7891f25a5a6b70056b483936fbc6e5e4ca8c55 (diff)
downloadfreebsd-ports-gnome-acbcb19539a8b6584661bb6e6196a29b8debcc68.tar.gz
freebsd-ports-gnome-acbcb19539a8b6584661bb6e6196a29b8debcc68.tar.zst
freebsd-ports-gnome-acbcb19539a8b6584661bb6e6196a29b8debcc68.zip
- Add missing dependency for old perl
- Bump PORTREVISION PR: ports/125357 Submitted by: leeym@
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p5-Compress-Zlib/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/archivers/p5-Compress-Zlib/Makefile b/archivers/p5-Compress-Zlib/Makefile
index 54ef003baec2..66f5277b994d 100644
--- a/archivers/p5-Compress-Zlib/Makefile
+++ b/archivers/p5-Compress-Zlib/Makefile
@@ -7,6 +7,7 @@
PORTNAME= Compress-Zlib
PORTVERSION= 2.011
+PORTREVISION= 1
CATEGORIES= archivers perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -14,12 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Perl5 interface to zlib compression library
-BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Compress/Raw/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Raw-Zlib \
- ${SITE_PERL}/IO/Uncompress/Gunzip.pm:${PORTSDIR}/archivers/p5-IO-Compress-Zlib
-RUN_DEPENDS= ${BUILD_DEPENDS}
+RUN_DEPENDS= p5-Compress-Raw-Zlib>=${PORTVERSION}:${PORTSDIR}/archivers/p5-Compress-Raw-Zlib \
+ p5-IO-Compress-Base>=${PORTVERSION}:${PORTSDIR}/archivers/p5-IO-Compress-Base \
+ p5-IO-Compress-Zlib>=${PORTVERSION}:${PORTSDIR}/archivers/p5-IO-Compress-Zlib
PERL_CONFIGURE= YES
MAN3= Compress::Zlib.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= p5-Scalar-List-Utils>=0:${PORTSDIR}/lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>