From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 24 16:20:25 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1001916A4CE for ; Sun, 24 Oct 2004 16:20:25 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E95DC43D3F for ; Sun, 24 Oct 2004 16:20:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9OGKOWC033073 for ; Sun, 24 Oct 2004 16:20:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9OGKOXJ033043; Sun, 24 Oct 2004 16:20:24 GMT (envelope-from gnats) Resent-Date: Sun, 24 Oct 2004 16:20:24 GMT Resent-Message-Id: <200410241620.i9OGKOXJ033043@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Lars Thegler Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2035216A4CF; Sun, 24 Oct 2004 16:12:26 +0000 (GMT) Received: from cicero1.cybercity.dk (cicero1.cybercity.dk [212.242.40.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5956743D3F; Sun, 24 Oct 2004 16:12:25 +0000 (GMT) (envelope-from lth@dask.thegler.dk) Received: from dask.thegler.dk (port156.ds1-bav.adsl.cybercity.dk [217.157.188.161]) by cicero1.cybercity.dk (Postfix) with ESMTP id C1A8C7E4C80; Sun, 24 Oct 2004 18:12:23 +0200 (CEST) Received: by dask.thegler.dk (Postfix, from userid 1001) id 357FD3F03; Sun, 24 Oct 2004 18:12:22 +0200 (CEST) Message-Id: <20041024161222.357FD3F03@dask.thegler.dk> Date: Sun, 24 Oct 2004 18:12:22 +0200 (CEST) From: Lars Thegler To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: skv@FreeBSD.org Subject: ports/73086: [PATCH] databases/p5-Class-DBI: Fix 'use warnings' under Perl 5.005_03 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Oct 2004 16:20:25 -0000 >Number: 73086 >Category: ports >Synopsis: [PATCH] databases/p5-Class-DBI: Fix 'use warnings' under Perl 5.005_03 >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: Sun Oct 24 16:20:24 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Lars Thegler >Release: FreeBSD 4.10-BETA i386 >Organization: >Environment: System: FreeBSD dask.thegler.dk 4.10-BETA FreeBSD 4.10-BETA #3: Mon Apr 12 17:02:50 CEST 2004 >Description: --cut-- $ perl -e 'use Class::DBI' Class::DBI can't load Class::DBI::Relationship::HasMany: Can't locate warnings.pm in @INC (@INC contains: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 . /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503) at /usr/local/lib/perl5/site_perl/5.005/Class/DBI/Relationship/HasMany.pm line 4. BEGIN failed--compilation aborted at /usr/local/lib/perl5/site_perl/5.005/Class/DBI/Relationship/HasMany.pm line 4. at -e line 1 BEGIN failed--compilation aborted at -e line 1. $ --cut-- - Fix 'use warnings' under Perl 5.005_03 - Remove patch-droppings Port maintainer (skv@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-Class-DBI-0.96_2.patch begins here --- Index: Makefile =================================================================== RCS file: /home/pcvs/ports/databases/p5-Class-DBI/Makefile,v retrieving revision 1.12 diff -u -u -r1.12 Makefile --- Makefile 12 Aug 2004 12:47:57 -0000 1.12 +++ Makefile 24 Oct 2004 16:09:17 -0000 @@ -7,7 +7,7 @@ PORTNAME= Class-DBI PORTVERSION= 0.96 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= databases perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Class @@ -40,6 +40,14 @@ BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp .if ${PERL_LEVEL} < 500600 EXTRA_PATCHES= ${PATCHDIR}/5.005-lib::Class::DBI.pm ${PATCHDIR}/5.005-Makefile.PL + +post-patch: + @${PERL} -pi -e '$$_ = "" if /use warnings/;' \ + ${WRKSRC}/lib/Class/DBI/Relationship.pm \ + ${WRKSRC}/lib/Class/DBI/Relationship/HasA.pm \ + ${WRKSRC}/lib/Class/DBI/Relationship/HasMany.pm \ + ${WRKSRC}/lib/Class/DBI/Relationship/MightHave.pm + @${RM} ${WRKSRC}/lib/Class/DBI.pm.orig .endif .endif --- p5-Class-DBI-0.96_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: