Date: Thu, 4 Aug 2005 07:28:03 +0900 (JST) From: Norikatsu Shigemura <nork@FreeBSD.org> To: Kris Kennaway <kris@obsecurity.org> Cc: perl@FreeBSD.org Subject: Re: [ports-i386@FreeBSD.org: p5-DBD-SQLite-1.09 failed on i386 4] Message-ID: <200508032228.j73MS3WU062808@sakura.ninth-nine.com> In-Reply-To: <20050803214728.GA2068@xor.obsecurity.org> References: <20050803214728.GA2068@xor.obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi kris. On Wed, 3 Aug 2005 17:47:30 -0400 Kris Kennaway <kris@obsecurity.org> 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 <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508032228.j73MS3WU062808>