From owner-freebsd-perl@FreeBSD.ORG Wed Aug 3 22:28:05 2005 Return-Path: X-Original-To: perl@FreeBSD.org Delivered-To: freebsd-perl@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2793716A41F for ; Wed, 3 Aug 2005 22:28:05 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A3B443D46 for ; Wed, 3 Aug 2005 22:28:04 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.3/8.13.3/NinthNine) with SMTP id j73MS3WU062808; Thu, 4 Aug 2005 07:28:03 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Thu, 4 Aug 2005 07:28:03 +0900 (JST) Message-Id: <200508032228.j73MS3WU062808@sakura.ninth-nine.com> From: Norikatsu Shigemura To: Kris Kennaway In-Reply-To: <20050803214728.GA2068@xor.obsecurity.org> References: <20050803214728.GA2068@xor.obsecurity.org> X-Mailer: Sylpheed version 2.0.0 (GTK+ 2.6.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sakura.ninth-nine.com [219.127.74.121]); Thu, 04 Aug 2005 07:28:03 +0900 (JST) Cc: perl@FreeBSD.org Subject: Re: [ports-i386@FreeBSD.org: p5-DBD-SQLite-1.09 failed on i386 4] X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2005 22:28:05 -0000 Hi kris. On Wed, 3 Aug 2005 17:47:30 -0400 Kris Kennaway wrote: > cc -c -I. -I/usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI -O -pipe -O2 -DVERSION=\"1.09\" -DXS_VERSION=\"1.09\" -DPIC -fpic -I/usr/libdata/perl/5.00503/mach/CORE -DNDEBUG=1 -DSQLITE_PTR_SZ=4 -Dno_last_insert_id main.c > main.c: In function `sqliteDefaultBusyCallback': > main.c:301: `Timeout' undeclared (first use in this function) > main.c:301: (Each undeclared identifier is reported only once > main.c:301: for each function it appears in.) > *** Error code 1 > Stop in /work/a/ports/databases/p5-DBD-SQLite/work/DBD-SQLite-1.09. > *** Error code 1 Thank you. May I commit following patch? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - o Fix build on 4.x. Because perl 5.005 didn't have $Config{d_usleep}, $Config{d_usleep} was compulsorily used by replaceement to 1. o Cosmetic change. Pointed out by: pointyhat via kris Approved by: portmgr () - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Index: Makefile =================================================================== RCS file: /home/ncvs/ports/databases/p5-DBD-SQLite/Makefile,v retrieving revision 1.24 diff -u -r1.24 Makefile --- Makefile 31 Jul 2005 12:07:31 -0000 1.24 +++ Makefile 3 Aug 2005 22:19:04 -0000 @@ -15,6 +15,7 @@ MAINTAINER= perl@FreeBSD.org COMMENT= Provides access to SQLite3 databases through the DBI +USE_REINPLACE= yes PERL_CONFIGURE= yes MAN3= DBD::SQLite.3 @@ -30,6 +31,9 @@ .endif post-extract: - ${RM} -f ${WRKSRC}/getsqlite.pl + @${RM} -f ${WRKSRC}/getsqlite.pl + +post-patch: + @${REINPLACE_CMD} 's/\$$Config{d_usleep}/1/' ${WRKSRC}/Makefile.PL .include