Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 1 Sep 2002 19:40:03 -0700 (PDT)
From:      Gerhard =?iso-8859-1?Q?H=E4ring?= <gerhard.haering@gmx.de>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/40816: Port update: databases/sqlite
Message-ID:  <200209020240.g822e3u0017200@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/40816; it has been noted by GNATS.

From: Gerhard =?iso-8859-1?Q?H=E4ring?= <gerhard.haering@gmx.de>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc: "David W. Chapman Jr." <dwcjr@inethouston.net>
Subject: Re: ports/40816: Port update: databases/sqlite
Date: Mon, 2 Sep 2002 04:31:50 +0200

 Upon request, once again as a patch with the port name "sqlite". Please
 note that you'll still have to cvs remove the files in the files/
 directory that are no longer needed. They can be found by grepping the
 patch below for "Only in ../sqlite.orig/files".
 
 -- Gerhard
 
 
 diff -r -C 3 ../sqlite.orig/Makefile ./Makefile
 *** ../sqlite.orig/Makefile	Sun Dec  2 19:19:09 2001
 --- ./Makefile	Mon Sep  2 04:16:49 2002
 ***************
 *** 7,65 ****
   #
   
   PORTNAME=	sqlite
 ! PORTVERSION=	1.0.32
   CATEGORIES=	databases
   MASTER_SITES=	http://www.hwaci.com/sw/sqlite/
   
 ! MAINTAINER=	ports@FreeBSD.org
   
 ! LIB_DEPENDS=	gdbm.2:${PORTSDIR}/databases/gdbm \
 ! 		tcl${TCL_VER:S/.//}:${PORTSDIR}/lang/tcl${TCL_VER:S/.//}
 ! BUILD_DEPENDS=	lemon:${PORTSDIR}/devel/lemon
   
 ! MAKEFILE=	${FILESDIR}/Makefile.bsd
 ! MAKE_ARGS+=	-j2
   MAKE_ENV+=	TCL_VER=${TCL_VER}
   TCL_VER?=	8.3
   
 ! GDBM_TOOLS=	gdbmdump gdbmstat
 ! 
 ! post-build:	test
 ! .for p in ${GDBM_TOOLS}
 ! 	cd ${WRKSRC}/tool && ${MAKE} CFLAGS="${CFLAGS} -I${PREFIX}/include" \
 ! 		LDADD="-L${PREFIX}/lib -lgdbm" PROG=$p NOMAN=1 \
 ! 		-f bsd.prog.mk
 ! .endfor
 ! 	cd ${WRKSRC} && ${MAKE} VPATH=${WRKSRC}/src \
 ! 		CFLAGS="${CFLAGS} -I${WRKSRC} -I${WRKSRC}/src" \
 ! 		LDADD="-L${WRKSRC} -lsqlite" PROG=sqlite SRCS=shell.c NOMAN=1 \
 ! 		-f bsd.prog.mk
 ! .ifndef NOPORTDOCS
 ! 	cd ${WRKSRC}/www && ${SETENV} ${MAKE_ENV} \
 ! 		${MAKE} ${MAKE_ARGS} -f ${FILESDIR}/Makefile.docs
 ! .endif
   
   post-install:
 - .for p in ${GDBM_TOOLS}
 - 	cd ${WRKSRC}/tool && ${MAKE} BINDIR="${PREFIX}/bin" \
 - 		PROG=$p NOMAN=1 -f bsd.prog.mk install
 - .endfor
 - 	cd ${WRKSRC} && ${MAKE} PROG=sqlite NOMAN=1 BINDIR="${PREFIX}/bin" \
 - 		-f bsd.prog.mk install
 - 	${MKDIR} ${PREFIX}/lib/sqlite
   	${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/
 ! .ifndef NOPORTDOCS
 ! 	${MKDIR} ${PREFIX}/share/doc/sqlite
 ! 	${INSTALL_DATA} ${WRKSRC}/www/*.html ${WRKSRC}/www/*.png \
 ! 		${PREFIX}/share/doc/sqlite
   .endif
 - 
 - test:
 - 	# -------------------------------------------------------
 - 	# Running the vendor's tests -- there should be 0 errors.
 - 	# -------------------------------------------------------
 - 	cd ${WRKSRC} && ${PREFIX}/bin/tclsh${TCL_VER} ${WRKSRC}/test/all.test \
 - 		${WRKSRC}/libsqlite.so
 - 	# -------------------------------------------------------
   
   .include <bsd.port.mk>
 --- 7,57 ----
   #
   
   PORTNAME=	sqlite
 ! PORTVERSION=	2.7.1
   CATEGORIES=	databases
   MASTER_SITES=	http://www.hwaci.com/sw/sqlite/
 + DISTNAME=	sqlite-${PORTVERSION}
   
 ! MAINTAINER=	gerhard.haering@gmx.de
   
 ! LIB_DEPENDS=	tcl${TCL_VER:S/.//}:${PORTSDIR}/lang/tcl${TCL_VER:S/.//}
 ! BUILD_DEPENDS=
   
 ! USE_GMAKE=	YES
 ! GNU_CONFIGURE=	YES
 ! USE_REINPLACE=  YES
 ! CONFIGURE_ARGS= --prefix=${PREFIX} --with-hints=freebsd.hints
 ! 
 ! WRKSRC=		${WRKDIR}/sqlite
 ! MAKE_ARGS+=	TCLSH=tclsh${TCL_VER}
   MAKE_ENV+=	TCL_VER=${TCL_VER}
   TCL_VER?=	8.3
   
 ! DOCFILES=	arch.html arch.png c_interface.html changes.html \
 ! 		crosscompile.html download.html faq.html index.html \
 ! 		lang.html lemon.html mingw.html opcode.html report1.txt \
 ! 		speed.html sqlite.html tclsqlite.html vdbe.html
 ! 
 ! DOCSDIR=	${PREFIX}/share/doc/sqlite
 ! 
 ! post-patch:
 ! 	${REINPLACE_CMD} -e "s/tclsh \$$(TOP)/\$$(TCLSH) \$$(TOP)/g" ${WRKSRC}/Makefile.in
 ! 	${ECHO} "config_TARGET_TCL_INC=\"-I${PREFIX}/include/tcl${TCL_VER}\"" >${WRKSRC}/freebsd.hints
 ! 	${ECHO} "config_TARGET_TCL_LIBS=\"-L${PREFIX}/lib -ltcl${TCL_VER:S/.//}\"" >>${WRKSRC}/freebsd.hints
 ! 	#${ECHO} "config_TARGET_CFLAGS=\"-DTHREADSAFE=1 -pthread\"" >>${WRKSRC}/freebsd.hints
 ! 
 ! post-build:
 ! 	# Build the docs
 ! 	cd ${WRKSRC} && ${MAKE} ${MAKE_ARGS} doc
   
   post-install:
   	${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/
 ! .if !defined(NOPORTDOCS)
 ! 	@${MKDIR} ${DOCSDIR}
 ! 	@${INSTALL_DATA} ${FILESDIR}/example.tcl ${DOCSDIR}
 ! .for file in ${DOCFILES}
 ! 	@${INSTALL_DATA} ${WRKSRC}/doc//${file} ${DOCSDIR}
 ! .endfor
   .endif
   
   .include <bsd.port.mk>
 diff -r -C 3 ../sqlite.orig/distinfo ./distinfo
 *** ../sqlite.orig/distinfo	Sun Dec  2 19:19:09 2001
 --- ./distinfo	Sun Sep  1 18:21:10 2002
 ***************
 *** 1 ****
 ! MD5 (sqlite-1.0.32.tar.gz) = 308be6d8b9e9514150ef4f89902b2fbc
 --- 1 ----
 ! MD5 (sqlite-2.7.1.tar.gz) = 4910d3603365ab042cf78a1ec6304bb6
 Only in ../sqlite.orig/files: Makefile.bsd
 Only in ../sqlite.orig/files: Makefile.docs
 Only in ./files: example.tcl
 Only in ../sqlite.orig/files: patch-docs
 Only in ./files: patch-makefile
 Only in ../sqlite.orig/files: patch-test
 diff -r -C 3 ../sqlite.orig/files/pkgIndex.tcl ./files/pkgIndex.tcl
 *** ../sqlite.orig/files/pkgIndex.tcl	Tue Jun 12 01:32:07 2001
 --- ./files/pkgIndex.tcl	Mon Sep  2 01:11:29 2002
 ***************
 *** 1 ****
 ! package ifneeded sqlite 1.0 [list load $dir/../libsqlite.so]
 --- 1 ----
 ! package ifneeded sqlite 0.0 [list load [file join $dir libtclsqlite.so.0] sqlite]
 diff -r -C 3 ../sqlite.orig/pkg-comment ./pkg-comment
 *** ../sqlite.orig/pkg-comment	Thu Feb 22 18:03:20 2001
 --- ./pkg-comment	Mon Sep  2 02:37:49 2002
 ***************
 *** 1 ****
 ! SQL library that uses GDBM as its underlying file storage mechanism
 --- 1 ----
 ! An SQL database engine in a C library, including a Tcl wrapper
 diff -r -C 3 ../sqlite.orig/pkg-descr ./pkg-descr
 *** ../sqlite.orig/pkg-descr	Thu Feb 22 18:03:20 2001
 --- ./pkg-descr	Sun Sep  1 18:16:33 2002
 ***************
 *** 1,8 ****
 ! SQLite is an SQL database library that uses GDBM as its underlying
 ! file storage mechanism. Programs that link the SQLite library can
 ! have SQL database access without running a separate RDBMS process.
 ! The distribution comes with a standalone command-line access program
 ! (sqlite) that can be used to administer an SQLite database and which
 ! serves as an example of how to use the SQLite library.
   
   WWW: http://www.hwaci.com/sw/sqlite/
 --- 1,7 ----
 ! SQLite is an SQL database engine in a C library. Programs that link the SQLite
 ! library can have SQL database access without running a separate RDBMS process.
 ! The distribution comes with a standalone command-line access program (sqlite)
 ! that can be used to administer an SQLite database and which serves as an
 ! example of how to use the SQLite library.
   
   WWW: http://www.hwaci.com/sw/sqlite/
 diff -r -C 3 ../sqlite.orig/pkg-plist ./pkg-plist
 *** ../sqlite.orig/pkg-plist	Fri Jul  6 10:14:45 2001
 --- ./pkg-plist	Mon Sep  2 01:32:53 2002
 ***************
 *** 1,25 ****
   bin/sqlite
 ! bin/gdbmdump
 ! bin/gdbmstat
   lib/libsqlite.a
 ! lib/libsqlite_p.a
   lib/libsqlite.so
 ! lib/libsqlite.so.1.0
   lib/sqlite/pkgIndex.tcl
   @dirrm lib/sqlite
 - include/sqlite.h
   %%PORTDOCS%%share/doc/sqlite/arch.html
   %%PORTDOCS%%share/doc/sqlite/arch.png
   %%PORTDOCS%%share/doc/sqlite/c_interface.html
   %%PORTDOCS%%share/doc/sqlite/changes.html
   %%PORTDOCS%%share/doc/sqlite/crosscompile.html
 ! %%PORTDOCS%%share/doc/sqlite/dynload.html
 ! %%PORTDOCS%%share/doc/sqlite/fileformat.html
   %%PORTDOCS%%share/doc/sqlite/index.html
   %%PORTDOCS%%share/doc/sqlite/lang.html
   %%PORTDOCS%%share/doc/sqlite/mingw.html
   %%PORTDOCS%%share/doc/sqlite/opcode.html
   %%PORTDOCS%%share/doc/sqlite/sqlite.html
   %%PORTDOCS%%share/doc/sqlite/tclsqlite.html
   %%PORTDOCS%%share/doc/sqlite/vdbe.html
   %%PORTDOCS%%@dirrm share/doc/sqlite
 --- 1,31 ----
   bin/sqlite
 ! include/sqlite.h
   lib/libsqlite.a
 ! lib/libsqlite.la
   lib/libsqlite.so
 ! lib/libsqlite.so.0
 ! lib/sqlite/libtclsqlite.so.0
 ! lib/sqlite/libtclsqlite.so
 ! lib/sqlite/libtclsqlite.la
 ! lib/sqlite/libtclsqlite.a
   lib/sqlite/pkgIndex.tcl
   @dirrm lib/sqlite
   %%PORTDOCS%%share/doc/sqlite/arch.html
   %%PORTDOCS%%share/doc/sqlite/arch.png
   %%PORTDOCS%%share/doc/sqlite/c_interface.html
   %%PORTDOCS%%share/doc/sqlite/changes.html
   %%PORTDOCS%%share/doc/sqlite/crosscompile.html
 ! %%PORTDOCS%%share/doc/sqlite/download.html
 ! %%PORTDOCS%%share/doc/sqlite/faq.html
   %%PORTDOCS%%share/doc/sqlite/index.html
   %%PORTDOCS%%share/doc/sqlite/lang.html
 + %%PORTDOCS%%share/doc/sqlite/lemon.html
   %%PORTDOCS%%share/doc/sqlite/mingw.html
   %%PORTDOCS%%share/doc/sqlite/opcode.html
 + %%PORTDOCS%%share/doc/sqlite/report1.txt
 + %%PORTDOCS%%share/doc/sqlite/speed.html
   %%PORTDOCS%%share/doc/sqlite/sqlite.html
   %%PORTDOCS%%share/doc/sqlite/tclsqlite.html
   %%PORTDOCS%%share/doc/sqlite/vdbe.html
 + %%PORTDOCS%%share/doc/sqlite/example.tcl
   %%PORTDOCS%%@dirrm share/doc/sqlite

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209020240.g822e3u0017200>