1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

- Update to 3.6.11

- Change hard coded TCL dependancy to USE_TCL [1]

PR:		132382 [1]
Submitted by:	Scot W. Hetzel <swhetzel___gmail.com> [1]
This commit is contained in:
Marcus Alves Grando 2009-03-23 05:31:15 +00:00
parent fb576f8b09
commit 2e5523abb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230721
4 changed files with 44 additions and 19 deletions

View File

@ -6,13 +6,13 @@
#
PORTNAME= sqlite3
PORTVERSION= 3.6.10
PORTVERSION= 3.6.11
CATEGORIES= databases
MASTER_SITES= http://www.sqlite.org/
DISTNAME= sqlite-${PORTVERSION}
MAINTAINER= mnag@FreeBSD.org
COMMENT= An SQL database engine in a C library w/ Tcl wrapper
COMMENT= An SQL database engine in a C library
CONFLICTS= sqlite34-[0-9]*
@ -26,7 +26,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX}
OPTIONS= DEBUG "Enable debugging & verbose explain" off \
FTS3 "Enable FTS3 (Full Text Search) module" off \
RAMTABLE "Store temporary tables in RAM" off \
TCLWRAPPER "TCL wrapper for SQLITE" off \
TCLWRAPPER "Enable TCL wrapper" off \
METADATA "Enable column metadata" on \
THREADS "Enable threads support" on
@ -46,12 +46,13 @@ CONFIGURE_ARGS+= --enable-tempstore=yes
.endif
.if defined(WITH_TCLWRAPPER)
TCL_V?= 8.4
MAKE_ARGS+= TCLSH=tclsh${TCL_V}
MAKE_ENV+= TCL_VER=${TCL_V}
USE_TCL= 84+
.include "${PORTSDIR}/Mk/bsd.tcl.mk"
MAKE_ARGS+= TCLSH=${TCLSH}
MAKE_ENV+= TCL_VER=${TCL_VER}
CATEGORIES+= lang tcl
LIB_DEPENDS+= tcl${TCL_V:S/.//}:${PORTSDIR}/lang/tcl${TCL_V:S/.//}
CONFIGURE_ARGS+= --with-tcl=${LOCALBASE}/lib/tcl${TCL_V}
COMMENT+= with TCL Wrapper
CONFIGURE_ARGS+= --with-tcl=${TCL_LIBDIR}
PLIST_SUB+= WITH_TCLWRAPPER=""
.else
CONFIGURE_ARGS+= --disable-tcl
@ -89,10 +90,10 @@ post-patch:
post-install:
.if defined(WITH_TCLWRAPPER)
@${MKDIR} ${PREFIX}/lib/sqlite
@${MKDIR} ${PREFIX}/lib/sqlite3
@(cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_DATA} \
libtclsqlite3.la ${PREFIX}/lib/sqlite/)
@${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite/
libtclsqlite3.la ${PREFIX}/lib/sqlite3/)
@${INSTALL_DATA} ${FILESDIR}/pkgIndex.tcl ${PREFIX}/lib/sqlite3/
@${INSTALL_PROGRAM} ${WRKSRC}/.libs/tclsqlite3 ${PREFIX}/bin
@${MKDIR} ${EXAMPLESDIR}
@${INSTALL_DATA} ${FILESDIR}/example.tcl ${EXAMPLESDIR}

View File

@ -1,3 +1,3 @@
MD5 (sqlite-3.6.10.tar.gz) = a03bdc86df4025b6881d58557e4b5bd3
SHA256 (sqlite-3.6.10.tar.gz) = 2157db34aa0aace8d5a1a5c723280f2840b3383498a225cab36014f0a45faa01
SIZE (sqlite-3.6.10.tar.gz) = 2763053
MD5 (sqlite-3.6.11.tar.gz) = 7ebb099696ab76cc6ff65dd496d17858
SHA256 (sqlite-3.6.11.tar.gz) = fd07be79b4d4e8453675e142907a777d07776ec2b3e2a9f4dd7645a27fcd28a1
SIZE (sqlite-3.6.11.tar.gz) = 2804714

View File

@ -18,3 +18,27 @@
Makefile: $(TOP)/Makefile.in
./config.status
#
# http://www.sqlite.org/cvstrac/tktview?tn=3732
#
--- Makefile.in.orig 2009-03-23 00:21:28.000000000 -0300
+++ Makefile.in 2009-03-23 00:22:03.000000000 -0300
@@ -163,7 +163,7 @@
# Object files for the SQLite library (non-amalgamation).
#
-OBJS0 = alter.lo analyze.lo attach.lo auth.lo bitvec.lo btmutex.lo \
+OBJS0 = alter.lo analyze.lo attach.lo auth.lo backup.lo bitvec.lo btmutex.lo \
btree.lo build.lo callback.lo complete.lo date.lo \
delete.lo expr.lo fault.lo func.lo global.lo \
hash.lo journal.lo insert.lo legacy.lo loadext.lo \
@@ -518,6 +518,9 @@
auth.lo: $(TOP)/src/auth.c $(HDR)
$(LTCOMPILE) $(TEMP_STORE) -c $(TOP)/src/auth.c
+backup.lo: $(TOP)/src/backup.c $(HDR)
+ $(LTCOMPILE) $(TEMP_STORE) -c $(TOP)/src/backup.c
+
bitvec.lo: $(TOP)/src/bitvec.c $(HDR)
$(LTCOMPILE) $(TEMP_STORE) -c $(TOP)/src/bitvec.c

View File

@ -7,10 +7,10 @@ lib/libsqlite3.la
lib/libsqlite3.so
lib/libsqlite3.so.8
libdata/pkgconfig/sqlite3.pc
%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.a
%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.la
%%WITH_TCLWRAPPER%%lib/sqlite/libtclsqlite3.so
%%WITH_TCLWRAPPER%%lib/sqlite/pkgIndex.tcl
%%WITH_TCLWRAPPER%%@dirrm lib/sqlite
%%WITH_TCLWRAPPER%%lib/sqlite3/libtclsqlite3.a
%%WITH_TCLWRAPPER%%lib/sqlite3/libtclsqlite3.la
%%WITH_TCLWRAPPER%%lib/sqlite3/libtclsqlite3.so
%%WITH_TCLWRAPPER%%lib/sqlite3/pkgIndex.tcl
%%WITH_TCLWRAPPER%%@dirrm lib/sqlite3
%%WITH_TCLWRAPPER%%%%EXAMPLESDIR%%/example.tcl
%%WITH_TCLWRAPPER%%@dirrm %%EXAMPLESDIR%%