Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Feb 2003 13:02:24 +0100 (CET)
From:      Erwin Lansing <erwin@lansing.dk>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/48372: fix dependency for archivers/p5-Archive-Zip on 4.x with perl >= 5.6 
Message-ID:  <20030217120224.31E33A9DD@backup-mx.droso.dk>

next in thread | raw e-mail | index | archive | help

>Number:         48372
>Category:       ports
>Synopsis:       fix dependency for archivers/p5-Archive-Zip on 4.x with perl >= 5.6
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 17 04:10:02 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Erwin Lansing
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
pil.dk 
>Environment:
System: FreeBSD panda.droso.net 4.7-STABLE FreeBSD 4.7-STABLE #14: Sun Feb 16 11:42:13 CET 2003 root@panda.droso.net:/usr/obj/usr/src/sys/PANDA i386


	
>Description:

File::Spec is needed in version 0.82 which comes with perl5
and perl5.8 also on 4.x. The dependency should not be on
OSVERSION but PERL_LEVEL.

Apply COMMENT.

Noticed by: ericx@vineyard.net

>How-To-Repeat:
	
>Fix:

	

--- p5-Archive-Zip.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/archivers/p5-Archive-Zip/Makefile,v
retrieving revision 1.12
diff -u -r1.12 Makefile
--- Makefile	23 Jan 2003 06:26:21 -0000	1.12
+++ Makefile	17 Feb 2003 11:57:37 -0000
@@ -13,6 +13,7 @@
 PKGNAMEPREFIX=	p5-
 
 MAINTAINER=	erwin@lansing.dk
+COMMENT=	Perl module to create, manipulate, read, and write Zip archive files
 
 BUILD_DEPENDS=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib
 RUN_DEPENDS=	${BUILD_DEPENDS}
@@ -24,7 +25,7 @@
 
 .include <bsd.port.mk>
 
-.if ${OSVERSION} < 500000 && !exists(${SITE_PERL}/File/Spec.pm)
+.if ${PERL_LEVEL} < 500601
 BUILD_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
 RUN_DEPENDS+=	${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
 .endif
--- p5-Archive-Zip.diff ends here ---


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

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030217120224.31E33A9DD>