ports/125357: [PATCH] archivers/p5-Compress-Zlib: add missing dependency for old perl

Yen-Ming Lee leeym at FreeBSD.org
Mon Jul 7 06:30:02 UTC 2008


>Number:         125357
>Category:       ports
>Synopsis:       [PATCH] archivers/p5-Compress-Zlib: add missing dependency for old perl
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 07 06:30:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yen-Ming Lee
>Release:        FreeBSD 7.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD cn1.leeym.com 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008
>Description:
- add missing dependency for old perl
- bump PORTREVISION

Port maintainer (jadawin at FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Compress-Zlib-2.011_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/archivers/p5-Compress-Zlib/Makefile,v
retrieving revision 1.55
diff -u -d -b -w -u -r1.55 Makefile
--- Makefile	19 May 2008 07:29:18 -0000	1.55
+++ Makefile	7 Jul 2008 06:20:00 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=	Compress-Zlib
 PORTVERSION=	2.011
+PORTREVISION=	1
 CATEGORIES=	archivers perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-
@@ -14,12 +15,18 @@
 MAINTAINER=	jadawin at 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>
--- p5-Compress-Zlib-2.011_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list