Date: Tue, 12 Sep 2006 10:04:37 +0800 (CST) From: Yen-Ming Lee <leeym@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: gslin@gslin.org Subject: ports/103174: [PATCH] archivers/p5-Compress-LZW: unbreak under old perl Message-ID: <20060912020438.1234CB2A036@utopia.leeym.com> Resent-Message-ID: <200609120210.k8C2AMQG056563@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 103174 >Category: ports >Synopsis: [PATCH] archivers/p5-Compress-LZW: unbreak under 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: Tue Sep 12 02:10:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 6.1-STABLE i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD utopia.leeym.com 6.1-STABLE FreeBSD 6.1-STABLE #0: Sun Aug 27 09:55:36 CST 2006 >Description: - unbreak under old perl, which block archivers/p5-POE-Filter-LZW too Port maintainer (gslin@gslin.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Compress-LZW-0.01_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/archivers/p5-Compress-LZW/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 7 Aug 2006 06:53:51 -0000 1.2 +++ Makefile 12 Sep 2006 02:01:36 -0000 @@ -7,6 +7,7 @@ PORTNAME= Compress-LZW PORTVERSION= 0.01 +PORTREVISION= 1 CATEGORIES= archivers perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Compress @@ -19,7 +20,16 @@ MAN3= Compress::LZW.3 +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +.endif + post-patch: ${PERL} -pi -e 's/\@hattmoward/\\\@hattmoward/' ${WRKSRC}/Makefile.PL +.if ${PERL_LEVEL} < 500600 + ${REINPLACE_CMD} -e '/warnings/d' ${WRKSRC}/* +.endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- p5-Compress-LZW-0.01_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060912020438.1234CB2A036>