Date: Sat, 3 Apr 2004 20:50:09 +0200 (CEST) From: Lars Thegler <lars@thegler.dk> To: FreeBSD-gnats-submit@FreeBSD.org Cc: skv@FreeBSD.org Subject: ports/65136: [PATCH] databases/p5-DBIx-ContextualFetch: Fixed for pre-5.6 perl Message-ID: <20040403185009.317703EB4@dask.thegler.dk> Resent-Message-ID: <200404031900.i33J0gAD037083@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65136 >Category: ports >Synopsis: [PATCH] databases/p5-DBIx-ContextualFetch: Fixed for pre-5.6 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: Sat Apr 03 11:00:41 PST 2004 >Closed-Date: >Last-Modified: >Originator: Lars Thegler >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD dask.thegler.dk 4.9-STABLE FreeBSD 4.9-STABLE #2: Wed Nov 5 11:25:36 CET >Description: - Fixed for pre-5.6 perl Port maintainer (skv@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- p5-DBIx-ContextualFetch-1.01_1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/p5-DBIx-ContextualFetch/Makefile,v retrieving revision 1.1 diff -u -r1.1 Makefile --- Makefile 22 Mar 2004 15:17:41 -0000 1.1 +++ Makefile 3 Apr 2004 18:48:40 -0000 @@ -7,6 +7,7 @@ PORTNAME= DBIx-ContextualFetch PORTVERSION= 1.01 +PORTREVISION= 1 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= DBIx/TMTM @@ -30,7 +31,16 @@ BUILD_DEPENDS= ${RUN_DEPENDS} .if ${PERL_LEVEL} < 500702 -BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.if ${PERL_LEVEL} < 500600 +post-patch: + ${PERL} -pi -e '$$_="" if /use warnings/;' \ + ${WRKSRC}/lib/DBIx/ContextualFetch.pm + +post-configure: + ${PERL} -pi -e 's,/usr/local/,\$$(PREFIX)/,g' ${WRKSRC}/Makefile .endif .include <bsd.port.post.mk> --- p5-DBIx-ContextualFetch-1.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?20040403185009.317703EB4>