Date: Wed, 12 Oct 2005 13:09:01 +0200 (CEST) From: Lars Thegler <lth@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: skv@FreeBSD.org Subject: ports/87315: [PATCH] security/p5-POE-Component-SSLify: Fix for perl<5.6 Message-ID: <20051012110901.7AE113F0C@dask.thegler.dk> Resent-Message-ID: <200510121110.j9CBA8kb077858@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87315 >Category: ports >Synopsis: [PATCH] security/p5-POE-Component-SSLify: Fix for perl<5.6 >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: Wed Oct 12 11:10:07 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Lars Thegler >Release: FreeBSD 4.11-STABLE i386 >Organization: >Environment: System: FreeBSD dask.thegler.dk 4.11-STABLE FreeBSD 4.11-STABLE #6: Thu Dec 30 14:06:09 CET 2004 >Description: .pm files containing 'use warnings' and 'our' don't work under perl<5.6. Port maintainer (skv@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-POE-Component-SSLify-0.04.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/security/p5-POE-Component-SSLify/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 26 Jan 2005 16:36:39 -0000 1.2 +++ Makefile 12 Oct 2005 11:06:48 -0000 @@ -24,4 +24,11 @@ POE::Component::SSLify::ClientHandle.3 \ POE::Component::SSLify::ServerHandle.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500600 +post-patch: + @${PERL} -pi -e 's/^our (%\w+)/use vars qw($$1); $$1/;' \ + -e '$$_ = "" if /use warnings/;' \ + $$(${FIND} ${WRKSRC} -name '*.pm') +.endif +.include <bsd.port.post.mk> --- p5-POE-Component-SSLify-0.04.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?20051012110901.7AE113F0C>