[ports-i386@FreeBSD.org: p5-DBD-SQLite-1.09 failed on i386 4]
Norikatsu Shigemura
nork at FreeBSD.org
Wed Aug 3 22:28:05 GMT 2005
Hi kris.
On Wed, 3 Aug 2005 17:47:30 -0400
Kris Kennaway <kris at 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 at 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>
More information about the freebsd-perl
mailing list