summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Sachau <tommy@gentoo.org>2009-06-28 02:09:09 +0200
committerThomas Sachau <tommy@gentoo.org>2009-06-28 02:09:09 +0200
commit018a9314c54677c1a888c0f376d3646a2d6db95b (patch)
tree80ce80a3142bd16c0a3510c0836ecddbd5416c49
parentDrop app-text/libpaper (diff)
downloadmultilib-portage-018a9314c54677c1a888c0f376d3646a2d6db95b.tar.gz
multilib-portage-018a9314c54677c1a888c0f376d3646a2d6db95b.tar.bz2
multilib-portage-018a9314c54677c1a888c0f376d3646a2d6db95b.zip
Drop dev-db/sqlite
-rw-r--r--dev-db/sqlite/Manifest25
-rw-r--r--dev-db/sqlite/files/maketcllib.sh40
-rw-r--r--dev-db/sqlite/files/sandbox-fix1.patch40
-rw-r--r--dev-db/sqlite/files/sandbox-fix2.patch14
-rw-r--r--dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch12
-rw-r--r--dev-db/sqlite/files/sqlite-2.8.16-multilib.patch108
-rw-r--r--dev-db/sqlite/files/sqlite-3-test-fix-3.3.4.patch20
-rw-r--r--dev-db/sqlite/files/sqlite-3.3.3-tcl-fix.patch22
-rw-r--r--dev-db/sqlite/files/sqlite-3.6.14.2-fix_alignment.patch30
-rw-r--r--dev-db/sqlite/files/sqlite-64bit-test-fix.patch15
-rw-r--r--dev-db/sqlite/files/sqlite-64bit-test-fix2.patch13
-rw-r--r--dev-db/sqlite/sqlite-3.6.12.ebuild91
-rw-r--r--dev-db/sqlite/sqlite-3.6.13.ebuild95
-rw-r--r--dev-db/sqlite/sqlite-3.6.14.1.ebuild86
-rw-r--r--dev-db/sqlite/sqlite-3.6.14.2.ebuild88
-rw-r--r--dev-db/sqlite/sqlite-3.6.14.ebuild87
-rw-r--r--dev-db/sqlite/sqlite-3.6.15.ebuild76
17 files changed, 0 insertions, 862 deletions
diff --git a/dev-db/sqlite/Manifest b/dev-db/sqlite/Manifest
deleted file mode 100644
index 40e17df52..000000000
--- a/dev-db/sqlite/Manifest
+++ /dev/null
@@ -1,25 +0,0 @@
-AUX maketcllib.sh 879 RMD160 6d9a0e79a79d5a2efd6074e6b439d4634600980e SHA1 d5bb6054d3c9a4132c92bd8c172a547bf2cc9d85 SHA256 e101ed11d908bfb7f57519a99674160b0273d6500d191f758f8a0d1e6ed78120
-AUX sandbox-fix1.patch 960 RMD160 751c8327b36ebdc60c4138a10e4c2e145e225455 SHA1 5998db43539b15e878e0ed806af2eeee072dc5fc SHA256 ab348a7803767d6aa0ee50eb68db75267667b336d4e995a1d378919703b1c448
-AUX sandbox-fix2.patch 432 RMD160 778fe532561642dbae6d1a3f572f6703828af42b SHA1 1b0eee83c7d6d2e36ffdf0265c8bdd14d1574a61 SHA256 21552219c14daad788380ae7e1ba6c665bb1ef9eadb611f676bd6249e3bde02d
-AUX sqlite-2.8.15-alignement-fix.patch 538 RMD160 12407bbe5f1bcae243d4247b43bf63ce0e8becea SHA1 d67a8bb2de26b1d6b7222175bd7f69d28afffb1e SHA256 f61f2f36fed61438d13dbb09902078ef11f0c3e8c8a119f84030689a2f2add8f
-AUX sqlite-2.8.16-multilib.patch 4038 RMD160 0e074a3ebac7c188dbbf9b86be87a79e0c23390a SHA1 8d38fd5820fd1037b35194d33666be19dcce9e98 SHA256 4ccbef245ea50f317e34bad5ed07e6917fc08d718c6e57884255799980d6e765
-AUX sqlite-3-test-fix-3.3.4.patch 761 RMD160 5c1dc771d1dbe5dc0138145ddc169a8aa2305c3b SHA1 3e2c30622e387d002bfc5e49a49781ca9cc63c82 SHA256 f26cc9b97c6240f5e3f595b6be57309044be44e9f865f7596b4e85d77eef82d4
-AUX sqlite-3.3.3-tcl-fix.patch 955 RMD160 74965942daef0fe667bd866c9ebf5b2ff999c1d9 SHA1 c15e2a86f476dcab72b8a38ff89d6535ec0bbfd0 SHA256 b36bbb78a7c35a0c457e4cbdbc1b925fc4ffa07e0c60eb2230f1aff874a45403
-AUX sqlite-3.6.14.2-fix_alignment.patch 870 RMD160 754a1c9b00ff204e99e11acbdddcfc49af0a4af6 SHA1 8b4c715831b32d739c05f89fe3069f27ffc3e0e0 SHA256 bc42e667c692a436ba06dbb1c724c757f75cae1272d817fcb8517453c633cf38
-AUX sqlite-64bit-test-fix.patch 604 RMD160 58b1df9e9f6593d41fa17541eb3b429c70da384a SHA1 f20d6c33a0a26829e2c3eb14b5c21c259166938d SHA256 5310357cd2658333a5a76860dc87a5f98977878ffae6a9e11c5e1ec4c73ccc15
-AUX sqlite-64bit-test-fix2.patch 438 RMD160 83904019c277fdf24c8299b0e6aba7184cd8b56f SHA1 15512752ca2eefeab7daad22a76d767692dac3b5 SHA256 87c47559f891736006050f0a3a4e4393084cf314a7bc44cc0e09f57efc0de23b
-DIST sqlite-3.6.12.tar.gz 2769510 RMD160 c455dd7f5dac3ab75b1c0e58ca9a766e7fb19378 SHA1 05ffb484d264030de41ee4bde0915bf1900d5f32 SHA256 96c23c1e90808f06e4000e1e325f3547da1c38b164a237aab1184fa0da329201
-DIST sqlite-3.6.13.tar.gz 2780584 RMD160 2a9b3be1f087f63560ba63784b090b4fcf847d57 SHA1 632b5661ba7f59e92ce805ebcdf2cc3e9b28a051 SHA256 2ca2591847df72224dd6f99c8fffe35bb63bf41a8519d8e15ad48141aa841bfa
-DIST sqlite-3.6.14.1.tar.gz 2803028 RMD160 ec7273ab8e892d4742739d7d8e973ed5ed57691d SHA1 d4c4c505e8d332fe61421dfb5cc22a97f5c854c4 SHA256 3f6ed6e3952deb8fc6b2893a492f236aa7772dd5dc2f23fd6c80813564afea35
-DIST sqlite-3.6.14.2.tar.gz 2896850 RMD160 219833d61a2e0bf5fde136528b9725c0589d2491 SHA1 19206a419e39bb2de01ed12c2d95c928e97e7252 SHA256 94a5b9dcc841baeb000971b15c6b66f50add7bc160030de5aea8622db3e7060e
-DIST sqlite-3.6.14.tar.gz 2894263 RMD160 a77bcc1daf35ef45d497d076d4a8d6945a2e5f39 SHA1 0e22b901fe905826c192f305b7934eb4fefcb15b SHA256 3d0429c50ff188fd7f30e54ae389eb87f77e74b2da4fdf68f3e8283d0937b19d
-DIST sqlite-3.6.15.tar.gz 2818619 RMD160 affa2d8b7e29a758171fe7d2cd54534cdaaca104 SHA1 e1592b5ba35c40fbcb2cb8dc0cab669cfde04dd3 SHA256 7c904cee3c4fa642d32389ff937f85741a0fc15417da7958cc21b94d37bdaea3
-DIST sqlite_docs_3_6_12.zip 2230626 RMD160 c92c896a973cafe6dbfbd73824c84b3efc90a00b SHA1 7ecef637b64160681774e000399aec7e7fd13dff SHA256 b8cd8f82ba53d23863b96f51a5d7a58cc9fc1d2c928eae7009f8c5e9ed0e359d
-DIST sqlite_docs_3_6_13.zip 2234760 RMD160 d9246269030b3f8a9c00700f1d23140d499eb221 SHA1 92238762805019582d94398a19e7cd582932449f SHA256 9a9a76a0722f130d5c0a1b42d5f9cff4f8635e9ddbffa0c31960a31bf9ac5313
-DIST sqlite_docs_3_6_14.zip 2301548 RMD160 4b82f1ced5177b948824f2e0a99778ee80f62785 SHA1 21e504057bb051314e1bd7af1ab29e71ed9ecd73 SHA256 2106a41ec15d8acb759ab06dcefc729a53ab7e8ab8e7e6891621863f46d51bad
-EBUILD sqlite-3.6.12.ebuild 2443 RMD160 9da9850fb14a2833740a5142f7d45e152d6e2634 SHA1 4343204e5618c93db6641737940db35d5e52b684 SHA256 2d6d8da78aa7f20f1f33cd74903510ec1e58eb349230c5eddec6155218a57fbf
-EBUILD sqlite-3.6.13.ebuild 2541 RMD160 ca285d584cb2e92c5a8e47220a319df3a7941d7b SHA1 9e751e0f79e94af3c145425f32347f2fe464be57 SHA256 cc3a9e8c4a2717afe0d4b59da38feaede7199d1f6617bd6a4c0157997e0b5caf
-EBUILD sqlite-3.6.14.1.ebuild 2328 RMD160 36dac2abf8f4d75d4bd7b9fdeec9b2b6cbb5d0ad SHA1 1cf46341b0fd6b500f9353dff58aebb5747e979e SHA256 52f44eafe484dd27c46c50f337bc8d546ae73e419072c44f6275736fa9eca53a
-EBUILD sqlite-3.6.14.2.ebuild 2375 RMD160 a2ce4fca73152566c736d3090fdb01dc60aee8f1 SHA1 0f766762fb03eeb1342c005f6a6dd098ca885902 SHA256 8b84f1b8a18e41c3a07ead690710580b35d7ef0f07e560bd8698b55ff1757b36
-EBUILD sqlite-3.6.14.ebuild 2398 RMD160 a6379b590ff5eaddd25c666191f02b2d14b6b02a SHA1 ee95e56c00e2d4fc7efaac71a54392c31bec2496 SHA256 5100e10e91e0d58061fc6d68eaaea72ac08d219ddd2b4b9c29ba63eedb9c5113
-EBUILD sqlite-3.6.15.ebuild 1993 RMD160 94b149b7bccb3956c4e6fb981f24b12473a3e73d SHA1 b5a67f638602e5ce8f6d4469e0bdd5563f7c2d4d SHA256 4535d4a6d99b3ac2204164ea7f3fa560c08f9dab106b5cd96e36be02cb4edbc3
diff --git a/dev-db/sqlite/files/maketcllib.sh b/dev-db/sqlite/files/maketcllib.sh
deleted file mode 100644
index ad87ce1fc..000000000
--- a/dev-db/sqlite/files/maketcllib.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-#
-# This script was adapted from the one used by Hwaci to build it's
-# documentation and binaries for shipping to their website.
-#
-# Any similarity to the original has probably been trampled into
-# oblivion modifying everything for Gentoo.
-#
-echo "Starting TCL Build"
-
-# Set srcdir to the name of the directory that contains the publish.sh
-# script.
-#
-srcdir=`echo "$0" | sed 's%\(^.*\)/[^/][^/]*$%\1%'`
-
-#
-# Build the tclsqlite.so shared library for import into tclsh or wish
-# under Linux
-#
-make target_source
-source /etc/make.conf
-cd tsrc
-rm shell.c
-
-OPTS='-DUSE_TCL_STUBS=1 -DNDEBUG=1'
-TCLSTUBLIB=${TCL_BUILD_STUB_LIB_PATH}
-
-export CFLAGS
-gcc -fPIC $CFLAGS $OPTS -I. -shared *.c $TCLSTUBLIB -o tclsqlite.so
-
-strip tclsqlite.so
-cp tclsqlite.so ..
-
-cd ..
-
-echo "pkg_mkIndex [pwd] tclsqlite.so" >> make_pkgIndex.tcl
-tclsh make_pkgIndex.tcl
-
-echo "Done TCL Build"
-
diff --git a/dev-db/sqlite/files/sandbox-fix1.patch b/dev-db/sqlite/files/sandbox-fix1.patch
deleted file mode 100644
index 38e4256f8..000000000
--- a/dev-db/sqlite/files/sandbox-fix1.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- test/capi3.test~ 2006-01-30 23:35:44.000000000 +0100
-+++ test/capi3.test 2006-02-05 19:41:12.000000000 +0100
-@@ -140,18 +140,6 @@
- do_test capi3-3.2 {
- sqlite3_close $db2
- } {SQLITE_OK}
--do_test capi3-3.3 {
-- catch {
-- set db2 [sqlite3_open /bogus/path/test.db {}]
-- }
-- sqlite3_errcode $db2
--} {SQLITE_CANTOPEN}
--do_test capi3-3.4 {
-- sqlite3_errmsg $db2
--} {unable to open database file}
--do_test capi3-3.5 {
-- sqlite3_close $db2
--} {SQLITE_OK}
- do_test capi3-3.6.1 {
- sqlite3_close $db2
- } {SQLITE_MISUSE}
-@@ -176,18 +164,6 @@
- do_test capi3-4.2 {
- sqlite3_close $db2
- } {SQLITE_OK}
--do_test capi3-4.3 {
-- catch {
-- set db2 [sqlite3_open16 [utf16 /bogus/path/test.db] {}]
-- }
-- sqlite3_errcode $db2
--} {SQLITE_CANTOPEN}
--do_test capi3-4.4 {
-- utf8 [sqlite3_errmsg16 $db2]
--} {unable to open database file}
--do_test capi3-4.5 {
-- sqlite3_close $db2
--} {SQLITE_OK}
- } ;# utf16
-
- # This proc is used to test the following API calls:
diff --git a/dev-db/sqlite/files/sandbox-fix2.patch b/dev-db/sqlite/files/sandbox-fix2.patch
deleted file mode 100644
index cf051c427..000000000
--- a/dev-db/sqlite/files/sandbox-fix2.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- test/attach3.test~ 2005-03-29 05:11:00.000000000 +0200
-+++ test/attach3.test 2006-02-05 19:30:45.000000000 +0100
-@@ -226,11 +226,6 @@
- # Failure to attach leaves us in a workable state.
- # Ticket #811
- #
--do_test attach3-11.0 {
-- catchsql {
-- ATTACH DATABASE '/nodir/nofile.x' AS notadb;
-- }
--} {1 {unable to open database: /nodir/nofile.x}}
- do_test attach3-11.1 {
- catchsql {
- ATTACH DATABASE ':memory:' AS notadb;
diff --git a/dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch b/dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch
deleted file mode 100644
index 7081ffd00..000000000
--- a/dev-db/sqlite/files/sqlite-2.8.15-alignement-fix.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -uNr sqlite.orig/src/vdbeInt.h sqlite/src/vdbeInt.h
---- sqlite.orig/src/vdbeInt.h 2004-10-16 01:33:02.779442000 +0200
-+++ sqlite/src/vdbeInt.h 2004-10-16 01:35:01.139442000 +0200
-@@ -115,7 +115,7 @@
- int flags; /* Some combination of MEM_Null, MEM_Str, MEM_Dyn, etc. */
- double r; /* Real value */
- char *z; /* String value */
-- char zShort[NBFS]; /* Space for short strings */
-+ char zShort[NBFS] __attribute__ ((__aligned__(16))); /* Space for short strings */
- };
- typedef struct Mem Mem;
-
diff --git a/dev-db/sqlite/files/sqlite-2.8.16-multilib.patch b/dev-db/sqlite/files/sqlite-2.8.16-multilib.patch
deleted file mode 100644
index 32111877c..000000000
--- a/dev-db/sqlite/files/sqlite-2.8.16-multilib.patch
+++ /dev/null
@@ -1,108 +0,0 @@
-diff -Naurp sqlite-2.8.16.orig/Makefile.in sqlite-2.8.16/Makefile.in
---- sqlite-2.8.16.orig/Makefile.in 2005-02-14 00:22:04.000000000 +0000
-+++ sqlite-2.8.16/Makefile.in 2005-02-17 18:22:50.174537727 +0000
-@@ -187,12 +187,12 @@ last_change: $(SRC)
- | awk '{print $$5,$$6}' >last_change
-
- libsqlite.la: $(LIBOBJ)
-- $(LTLINK) -o libsqlite.la $(LIBOBJ) ${RELEASE} -rpath @exec_prefix@/lib \
-+ $(LTLINK) -o libsqlite.la $(LIBOBJ) ${RELEASE} -rpath @libdir@ \
- -version-info "8:6:8"
-
- libtclsqlite.la: tclsqlite.lo libsqlite.la
- $(LTLINK) -o libtclsqlite.la tclsqlite.lo \
-- libsqlite.la $(LIBTCL) -rpath @exec_prefix@/lib/sqlite \
-+ libsqlite.la $(LIBTCL) -rpath @libdir@/sqlite \
- -version-info "8:6:8"
-
- sqlite@TARGET_EXEEXT@: $(TOP)/src/shell.c libsqlite.la sqlite.h
-@@ -465,14 +465,14 @@ doc: $(DOC)
- mv $(DOC) doc
-
- install: sqlite libsqlite.la sqlite.h
-- $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib
-- $(LTINSTALL) libsqlite.la $(DESTDIR)$(exec_prefix)/lib
-+ $(INSTALL) -d $(DESTDIR)@libdir@
-+ $(LTINSTALL) libsqlite.la $(DESTDIR)@libdir@
- $(INSTALL) -d $(DESTDIR)$(exec_prefix)/bin
- $(LTINSTALL) sqlite $(DESTDIR)$(exec_prefix)/bin
- $(INSTALL) -d $(DESTDIR)$(prefix)/include
- $(INSTALL) -m 0644 sqlite.h $(DESTDIR)$(prefix)/include
-- $(INSTALL) -d $(DESTDIR)$(exec_prefix)/lib/pkgconfig;
-- $(INSTALL) -m 0644 sqlite.pc $(DESTDIR)$(exec_prefix)/lib/pkgconfig;
-+ $(INSTALL) -d $(DESTDIR)@libdir@/pkgconfig;
-+ $(INSTALL) -m 0644 sqlite.pc $(DESTDIR)@libdir@/pkgconfig;
-
- clean:
- rm -f *.lo *.la *.o sqlite@TARGET_EXEEXT@ libsqlite.la sqlite.h opcodes.*
-diff -Naurp sqlite-2.8.16.orig/Makefile.linux-gcc sqlite-2.8.16/Makefile.linux-gcc
---- sqlite-2.8.16.orig/Makefile.linux-gcc 2005-02-14 00:22:04.000000000 +0000
-+++ sqlite-2.8.16/Makefile.linux-gcc 2005-02-17 18:21:47.654969648 +0000
-@@ -14,7 +14,7 @@
- #### The toplevel directory of the source tree. This is the directory
- # that contains this "Makefile.in" and the "configure.in" script.
- #
--TOP = ../sqlite
-+TOP = @@S@@
-
- #### C Compiler and options for use in building executables that
- # will run on the platform that is doing the build.
-@@ -38,8 +38,8 @@ THREADSAFE = -DTHREADSAFE=0
- #### Specify any extra linker options needed to make the library
- # thread safe
- #
--#THREADLIB = -lpthread
--THREADLIB =
-+THREADLIB = -lpthread
-+#THREADLIB =
-
- #### Leave MEMORY_DEBUG undefined for maximum speed. Use MEMORY_DEBUG=1
- # to check for memory leaks. Use MEMORY_DEBUG=2 to print a log of all
-@@ -64,7 +64,7 @@ EXE =
- # will run on the target platform. This is usually the same
- # as BCC, unless you are cross-compiling.
- #
--TCC = gcc -O6
-+TCC = @@CC@@ @@CFLAGS@@
- #TCC = gcc -g -O0 -Wall
- #TCC = gcc -g -O0 -Wall -fprofile-arcs -ftest-coverage
- #TCC = /opt/mingw/bin/i386-mingw32-gcc -O6
-@@ -72,23 +72,23 @@ TCC = gcc -O6
-
- #### Tools used to build a static library.
- #
--AR = ar cr
-+AR = @@AR@@ cr
- #AR = /opt/mingw/bin/i386-mingw32-ar cr
--RANLIB = ranlib
-+RANLIB = @@RANLIB@@
- #RANLIB = /opt/mingw/bin/i386-mingw32-ranlib
-
- #### Extra compiler options needed for programs that use the TCL library.
- #
--#TCL_FLAGS =
-+#TCL_FLAGS = @@TCL_FLAGS@@
- #TCL_FLAGS = -DSTATIC_BUILD=1
--TCL_FLAGS = -I/home/drh/tcltk/8.4linux
-+#TCL_FLAGS = -I/home/drh/tcltk/8.4linux
- #TCL_FLAGS = -I/home/drh/tcltk/8.4win -DSTATIC_BUILD=1
- #TCL_FLAGS = -I/home/drh/tcltk/8.3hpux
-
- #### Linker options needed to link against the TCL library.
- #
--#LIBTCL = -ltcl -lm -ldl
--LIBTCL = /home/drh/tcltk/8.4linux/libtcl8.4g.a -lm -ldl
-+LIBTCL = -ltcl -lm -ldl
-+#LIBTCL = /home/drh/tcltk/8.4linux/libtcl8.4g.a -lm -ldl
- #LIBTCL = /home/drh/tcltk/8.4win/libtcl84s.a -lmsvcrt
- #LIBTCL = /home/drh/tcltk/8.3hpux/libtcl8.3.a -ldld -lm -lc
-
-@@ -100,7 +100,7 @@ READLINE_FLAGS = -DHAVE_READLINE=1 -I/us
- #### Linker options needed by programs using readline() must link against.
- #
- #LIBREADLINE =
--LIBREADLINE = -static -lreadline -ltermcap
-+LIBREADLINE = -static -lreadline -lncurses
-
- #### Should the database engine assume text is coded as UTF-8 or iso8859?
- #
diff --git a/dev-db/sqlite/files/sqlite-3-test-fix-3.3.4.patch b/dev-db/sqlite/files/sqlite-3-test-fix-3.3.4.patch
deleted file mode 100644
index 5429fbbd0..000000000
--- a/dev-db/sqlite/files/sqlite-3-test-fix-3.3.4.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- Makefile.in.old 2006-02-13 15:20:42.000000000 +0100
-+++ Makefile.in 2006-02-13 15:21:02.000000000 +0100
-@@ -242,7 +242,7 @@
- # of the most recently modified source code file
- #
- last_change: $(SRC)
-- cat $(SRC) | grep '$$Id: ' | sort +4 | tail -1 \
-+ cat $(SRC) | grep '$$Id: ' | sort -k 5 | tail -1 \
- | $(NAWK) '{print $$5,$$6}' >last_change
-
- libsqlite3.la: $(LIBOBJ)
-@@ -338,7 +338,7 @@
- $(LTCOMPILE) -c opcodes.c
-
- opcodes.c: opcodes.h $(TOP)/mkopcodec.awk
-- sort -n -b +2 opcodes.h | $(NAWK) -f $(TOP)/mkopcodec.awk >opcodes.c
-+ sort -n -b -k 3 opcodes.h | $(NAWK) -f $(TOP)/mkopcodec.awk >opcodes.c
-
- opcodes.h: parse.h $(TOP)/src/vdbe.c $(TOP)/mkopcodeh.awk
- cat parse.h $(TOP)/src/vdbe.c | $(NAWK) -f $(TOP)/mkopcodeh.awk >opcodes.h
diff --git a/dev-db/sqlite/files/sqlite-3.3.3-tcl-fix.patch b/dev-db/sqlite/files/sqlite-3.3.3-tcl-fix.patch
deleted file mode 100644
index 2d4356db7..000000000
--- a/dev-db/sqlite/files/sqlite-3.3.3-tcl-fix.patch
+++ /dev/null
@@ -1,22 +0,0 @@
---- tclinstaller.tcl.old 2006-02-05 21:44:20.000000000 +0100
-+++ tclinstaller.tcl 2006-02-05 21:49:50.000000000 +0100
-@@ -7,14 +7,17 @@
- set VERSION [lindex $argv 0]
- set LIBFILE .libs/libtclsqlite3[info sharedlibextension]
- if { ![info exists env(DESTDIR)] } { set env(DESTDIR) "" }
--set LIBDIR $env(DESTDIR)[lindex $auto_path 0]
-+if { ![info exists env(TCLLIBDIR)] } { set env(TCLLIBDIR) [lindex $auto_path 0] }
-+set LIBDIR $env(DESTDIR)$env(TCLLIBDIR)
-+set LIBDIR_INSTALL $env(TCLLIBDIR)
- set LIBNAME [file tail $LIBFILE]
- set LIB $LIBDIR/sqlite3/$LIBNAME
-+set LIB_INSTALL $LIBDIR_INSTALL/sqlite3/$LIBNAME
-
- file delete -force $LIBDIR/sqlite3
- file mkdir $LIBDIR/sqlite3
- set fd [open $LIBDIR/sqlite3/pkgIndex.tcl w]
--puts $fd "package ifneeded sqlite3 $VERSION \[list load $LIB sqlite3\]"
-+puts $fd "package ifneeded sqlite3 $VERSION \[list load $LIB_INSTALL sqlite3\]"
- close $fd
-
- # We cannot use [file copy] because that will just make a copy of
diff --git a/dev-db/sqlite/files/sqlite-3.6.14.2-fix_alignment.patch b/dev-db/sqlite/files/sqlite-3.6.14.2-fix_alignment.patch
deleted file mode 100644
index fe7ee13bc..000000000
--- a/dev-db/sqlite/files/sqlite-3.6.14.2-fix_alignment.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- src/rowset.c
-+++ src/rowset.c
-@@ -60,7 +60,7 @@
- ** There is an added cost of O(N) when switching between TEST and
- ** SMALLEST primitives.
- **
--** $Id: rowset.c,v 1.6 2009/04/22 15:32:59 drh Exp $
-+** $Id: rowset.c,v 1.7 2009/05/22 01:00:13 drh Exp $
- */
- #include "sqliteInt.h"
-
-@@ -127,15 +127,15 @@
- */
- RowSet *sqlite3RowSetInit(sqlite3 *db, void *pSpace, unsigned int N){
- RowSet *p;
-- assert( N >= sizeof(*p) );
-+ assert( N >= ROUND8(sizeof(*p)) );
- p = pSpace;
- p->pChunk = 0;
- p->db = db;
- p->pEntry = 0;
- p->pLast = 0;
- p->pTree = 0;
-- p->pFresh = (struct RowSetEntry*)&p[1];
-- p->nFresh = (u16)((N - sizeof(*p))/sizeof(struct RowSetEntry));
-+ p->pFresh = (struct RowSetEntry*)(ROUND8(sizeof(*p)) + (char*)p);
-+ p->nFresh = (u16)((N - ROUND8(sizeof(*p)))/sizeof(struct RowSetEntry));
- p->isSorted = 1;
- p->iBatch = 0;
- return p;
diff --git a/dev-db/sqlite/files/sqlite-64bit-test-fix.patch b/dev-db/sqlite/files/sqlite-64bit-test-fix.patch
deleted file mode 100644
index f121e5293..000000000
--- a/dev-db/sqlite/files/sqlite-64bit-test-fix.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- test/printf.test~ 2005-12-19 18:31:01.000000000 +0100
-+++ test/printf.test 2006-02-05 18:12:33.000000000 +0100
-@@ -130,12 +130,6 @@
- sqlite3_mprintf_scaled {A double: %g} 1.0e307 100.0
- } {A double: NaN}
-
--do_test printf-8.1 {
-- sqlite3_mprintf_int {%u %u %u} 0x7fffffff 0x80000000 0xffffffff
--} {2147483647 2147483648 4294967295}
--do_test printf-8.2 {
-- sqlite3_mprintf_int {%lu %lu %lu} 0x7fffffff 0x80000000 0xffffffff
--} {2147483647 2147483648 4294967295}
- do_test printf-8.3 {
- sqlite3_mprintf_int64 {%llu %llu %llu} 2147483647 2147483648 4294967296
- } {2147483647 2147483648 4294967296}
diff --git a/dev-db/sqlite/files/sqlite-64bit-test-fix2.patch b/dev-db/sqlite/files/sqlite-64bit-test-fix2.patch
deleted file mode 100644
index 08d93f0bc..000000000
--- a/dev-db/sqlite/files/sqlite-64bit-test-fix2.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- test/types3.test~ 2006-01-21 15:32:32.000000000 +0100
-+++ test/types3.test 2006-02-05 18:14:04.000000000 +0100
-@@ -30,10 +30,6 @@
- set V [expr {1+2}]
- concat [tcl_variable_type V] [execsql {SELECT typeof(:V)}]
- } {int integer}
--do_test types3-1.3 {
-- set V [expr {1+123456789012345}]
-- concat [tcl_variable_type V] [execsql {SELECT typeof(:V)}]
--} {wideInt integer}
-
- # A double variable comes in as REAL
- do_test types3-1.4 {
diff --git a/dev-db/sqlite/sqlite-3.6.12.ebuild b/dev-db/sqlite/sqlite-3.6.12.ebuild
deleted file mode 100644
index 1b57ce464..000000000
--- a/dev-db/sqlite/sqlite-3.6.12.ebuild
+++ /dev/null
@@ -1,91 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.12.ebuild,v 1.7 2009/05/22 15:40:18 armin76 Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic multilib versionator multilib-native
-
-DESCRIPTION="an SQL Database Engine in a C Library"
-HOMEPAGE="http://www.sqlite.org/"
-DOC_BASE="$(get_version_component_range 1-3)"
-DOC_PV="$(replace_all_version_separators _ ${DOC_BASE})"
-SRC_URI="http://www.sqlite.org/${P}.tar.gz
- doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )"
-
-LICENSE="as-is"
-SLOT="3"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 ~sh -sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="debug doc soundex tcl +threadsafe"
-RESTRICT="!tcl? ( test )"
-
-RDEPEND="tcl? ( dev-lang/tcl )
- sys-libs/readline[lib32?]"
-DEPEND="${RDEPEND}
- doc? ( app-arch/unzip )"
-
-pkg_setup() {
- if has test ${FEATURES}; then
- if ! has userpriv ${FEATURES}; then
- ewarn "The userpriv feature must be enabled to run tests."
- eerror "Testsuite will not be run."
- fi
- if ! use tcl; then
- ewarn "You must enable the tcl use flag if you want to run the testsuite."
- eerror "Testsuite will not be run."
- fi
- fi
-}
-
-src_prepare() {
- cd "${S}"
-
- # note: this sandbox fix is no longer needed with sandbox-1.3+
- epatch "${FILESDIR}"/sandbox-fix2.patch
-
- epunt_cxx
-}
-
-multilib-native_src_configure_internal() {
- # not available via configure and requested in bug #143794
- use soundex && append-cppflags -DSQLITE_SOUNDEX=1
-
- econf \
- $(use_enable debug) \
- $(use_enable threadsafe) \
- $(use_enable threadsafe cross-thread-connections) \
- $(use_enable tcl)
-}
-
-multilib-native_src_compile_internal() {
- emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
-}
-
-src_test() {
- if has userpriv ${FEATURES}; then
- local test=test
- use debug && test=fulltest
- emake ${test} || die "some test(s) failed"
- fi
-}
-
-multilib-native_src_install_internal() {
- emake \
- DESTDIR="${D}" \
- TCLLIBDIR="/usr/$(get_libdir)/${P}" \
- install \
- || die "emake install failed"
-
- doman sqlite3.1 || die
-
- if use doc; then
- # Naming scheme changes randomly between - and _ in releases
- # http://www.sqlite.org/cvstrac/tktview?tn=3523
- dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die
- fi
-}
-
-pkg_postinst() {
- elog "sqlite-3.6.X is not totally backwards compatible, see"
- elog "http://www.sqlite.org/releaselog/3_6_0.html for full details."
-}
diff --git a/dev-db/sqlite/sqlite-3.6.13.ebuild b/dev-db/sqlite/sqlite-3.6.13.ebuild
deleted file mode 100644
index 6cdeb116f..000000000
--- a/dev-db/sqlite/sqlite-3.6.13.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.13.ebuild,v 1.9 2009/05/24 17:41:33 maekke Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic multilib versionator multilib-native
-
-DESCRIPTION="an SQL Database Engine in a C Library"
-HOMEPAGE="http://www.sqlite.org/"
-DOC_BASE="$(get_version_component_range 1-3)"
-DOC_PV="$(replace_all_version_separators _ ${DOC_BASE})"
-SRC_URI="http://www.sqlite.org/${P}.tar.gz
- doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )"
-
-LICENSE="as-is"
-SLOT="3"
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
-IUSE="debug doc soundex tcl +threadsafe"
-RESTRICT="!tcl? ( test )"
-
-RDEPEND="tcl? ( dev-lang/tcl )
- sys-libs/readline[lib32?]"
-DEPEND="${RDEPEND}
- doc? ( app-arch/unzip )"
-
-pkg_setup() {
- if has test ${FEATURES} ; then
- if ! has userpriv ${FEATURES} ; then
- ewarn "The userpriv feature must be enabled to run tests."
- eerror "Testsuite will not be run."
- fi
- if ! use tcl ; then
- ewarn "You must enable the tcl use flag if you want to run the testsuite."
- eerror "Testsuite will not be run."
- fi
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # note: this sandbox fix is no longer needed with sandbox-1.3+
- epatch "${FILESDIR}"/sandbox-fix2.patch
-
- epunt_cxx
-}
-
-multilib-native_src_configure_internal() {
- # Enable column metadata, bug #266651
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
-
- # not available via configure and requested in bug #143794
- use soundex && append-cppflags -DSQLITE_SOUNDEX=1
-
- econf \
- $(use_enable debug) \
- $(use_enable threadsafe) \
- $(use_enable threadsafe cross-thread-connections) \
- $(use_enable tcl)
-}
-
-multilib-native_src_compile_internal() {
- emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
-}
-
-src_test() {
- if has userpriv ${FEATURES} ; then
- local test=test
- use debug && test=fulltest
- emake ${test} || die "some test(s) failed"
- fi
-}
-
-multilib-native_src_install_internal() {
- emake \
- DESTDIR="${D}" \
- TCLLIBDIR="/usr/$(get_libdir)/${P}" \
- install \
- || die "emake install failed"
-
- doman sqlite3.1 || die
-
- if use doc ; then
- # Naming scheme changes randomly between - and _ in releases
- # http://www.sqlite.org/cvstrac/tktview?tn=3523
- dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die
- fi
-}
-
-pkg_postinst() {
- elog "sqlite-3.6.X is not totally backwards compatible, see"
- elog "http://www.sqlite.org/releaselog/3_6_0.html for full details."
-}
diff --git a/dev-db/sqlite/sqlite-3.6.14.1.ebuild b/dev-db/sqlite/sqlite-3.6.14.1.ebuild
deleted file mode 100644
index ab899d52e..000000000
--- a/dev-db/sqlite/sqlite-3.6.14.1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.14.1.ebuild,v 1.2 2009/05/22 15:40:18 armin76 Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic multilib versionator multilib-native
-
-DESCRIPTION="an SQL Database Engine in a C Library"
-HOMEPAGE="http://www.sqlite.org/"
-DOC_BASE="$(get_version_component_range 1-3)"
-DOC_PV="$(replace_all_version_separators _ ${DOC_BASE})"
-SRC_URI="http://www.sqlite.org/${P}.tar.gz
- doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )"
-
-LICENSE="as-is"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh -sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE="debug doc soundex tcl +threadsafe"
-RESTRICT="!tcl? ( test )"
-
-RDEPEND="tcl? ( dev-lang/tcl )"
-DEPEND="${RDEPEND}
- doc? ( app-arch/unzip )"
-
-pkg_setup() {
- if has test ${FEATURES} ; then
- if ! has userpriv ${FEATURES} ; then
- ewarn "The userpriv feature must be enabled to run tests."
- eerror "Testsuite will not be run."
- fi
- if ! use tcl ; then
- ewarn "You must enable the tcl use flag if you want to run the testsuite."
- eerror "Testsuite will not be run."
- fi
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # note: this sandbox fix is no longer needed with sandbox-1.3+
- epatch "${FILESDIR}"/sandbox-fix2.patch
-
- epunt_cxx
-}
-
-multilib-native_src_compile_internal() {
- # Enable column metadata, bug #266651
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
-
- # not available via configure and requested in bug #143794
- use soundex && append-cppflags -DSQLITE_SOUNDEX
-
- econf \
- $(use_enable debug) \
- $(use_enable threadsafe) \
- $(use_enable threadsafe cross-thread-connections) \
- $(use_enable tcl)
- emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
-}
-
-src_test() {
- if has userpriv ${FEATURES} ; then
- local test=test
- use debug && test=fulltest
- emake ${test} || die "some test(s) failed"
- fi
-}
-
-multilib-native_src_install_internal() {
- emake \
- DESTDIR="${D}" \
- TCLLIBDIR="/usr/$(get_libdir)/${P}" \
- install \
- || die "emake install failed"
-
- doman sqlite3.1 || die
-
- if use doc ; then
- # Naming scheme changes randomly between - and _ in releases
- # http://www.sqlite.org/cvstrac/tktview?tn=3523
- dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die
- fi
-}
diff --git a/dev-db/sqlite/sqlite-3.6.14.2.ebuild b/dev-db/sqlite/sqlite-3.6.14.2.ebuild
deleted file mode 100644
index 159bea60c..000000000
--- a/dev-db/sqlite/sqlite-3.6.14.2.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.14.2.ebuild,v 1.3 2009/05/28 20:53:11 fmccor Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic multilib versionator multilib-native
-
-DESCRIPTION="an SQL Database Engine in a C Library"
-HOMEPAGE="http://www.sqlite.org/"
-DOC_BASE="$(get_version_component_range 1-3)"
-DOC_PV="$(replace_all_version_separators _ ${DOC_BASE})"
-SRC_URI="http://www.sqlite.org/${P}.tar.gz
- doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )"
-
-LICENSE="as-is"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE="debug doc soundex tcl +threadsafe"
-RESTRICT="!tcl? ( test )"
-
-RDEPEND="tcl? ( dev-lang/tcl )"
-DEPEND="${RDEPEND}
- doc? ( app-arch/unzip )"
-
-pkg_setup() {
- if has test ${FEATURES} ; then
- if ! has userpriv ${FEATURES} ; then
- ewarn "The userpriv feature must be enabled to run tests."
- eerror "Testsuite will not be run."
- fi
- if ! use tcl ; then
- ewarn "You must enable the tcl use flag if you want to run the testsuite."
- eerror "Testsuite will not be run."
- fi
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # note: this sandbox fix is no longer needed with sandbox-1.3+
- epatch "${FILESDIR}"/sandbox-fix2.patch
-
- epatch "${FILESDIR}/${P}-fix_alignment.patch"
-
- epunt_cxx
-}
-
-multilib-native_src_compile_internal() {
- # Enable column metadata, bug #266651
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
-
- # not available via configure and requested in bug #143794
- use soundex && append-cppflags -DSQLITE_SOUNDEX
-
- econf \
- $(use_enable debug) \
- $(use_enable threadsafe) \
- $(use_enable threadsafe cross-thread-connections) \
- $(use_enable tcl)
- emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
-}
-
-src_test() {
- if has userpriv ${FEATURES} ; then
- local test=test
- use debug && test=fulltest
- emake ${test} || die "some test(s) failed"
- fi
-}
-
-multilib-native_src_install_internal() {
- emake \
- DESTDIR="${D}" \
- TCLLIBDIR="/usr/$(get_libdir)/${P}" \
- install \
- || die "emake install failed"
-
- doman sqlite3.1 || die
-
- if use doc ; then
- # Naming scheme changes randomly between - and _ in releases
- # http://www.sqlite.org/cvstrac/tktview?tn=3523
- dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die
- fi
-}
diff --git a/dev-db/sqlite/sqlite-3.6.14.ebuild b/dev-db/sqlite/sqlite-3.6.14.ebuild
deleted file mode 100644
index 3f0ff43da..000000000
--- a/dev-db/sqlite/sqlite-3.6.14.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.14.ebuild,v 1.3 2009/05/22 15:40:18 armin76 Exp $
-
-EAPI="2"
-
-inherit autotools eutils flag-o-matic multilib versionator multilib-native
-
-DESCRIPTION="an SQL Database Engine in a C Library"
-HOMEPAGE="http://www.sqlite.org/"
-DOC_BASE="$(get_version_component_range 1-3)"
-DOC_PV="$(replace_all_version_separators _ ${DOC_BASE})"
-SRC_URI="http://www.sqlite.org/${P}.tar.gz
- doc? ( http://www.sqlite.org/${PN}_docs_${DOC_PV}.zip )"
-
-LICENSE="as-is"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh -sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE="debug doc soundex tcl +threadsafe"
-RESTRICT="!tcl? ( test )"
-
-RDEPEND="tcl? ( dev-lang/tcl )"
-DEPEND="${RDEPEND}
- doc? ( app-arch/unzip )"
-
-pkg_setup() {
- if has test ${FEATURES} ; then
- if ! has userpriv ${FEATURES} ; then
- ewarn "The userpriv feature must be enabled to run tests."
- eerror "Testsuite will not be run."
- fi
- if ! use tcl ; then
- ewarn "You must enable the tcl use flag if you want to run the testsuite."
- eerror "Testsuite will not be run."
- fi
- fi
-}
-
-multilib-native_src_prepare_internal() {
- # note: this sandbox fix is no longer needed with sandbox-1.3+
- epatch "${FILESDIR}"/sandbox-fix2.patch
-
- epunt_cxx
- eautoreconf
-}
-
-multilib-native_src_configure_internal() {
- # Enable column metadata, bug #266651
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
-
- # not available via configure and requested in bug #143794
- use soundex && append-cppflags -DSQLITE_SOUNDEX=1
-
- econf \
- $(use_enable debug) \
- $(use_enable threadsafe) \
- $(use_enable threadsafe cross-thread-connections) \
- $(use_enable tcl)
-}
-
-multilib-native_src_compile_internal() {
- emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
-}
-
-src_test() {
- if has userpriv ${FEATURES} ; then
- local test=test
- use debug && test=fulltest
- emake ${test} || die "some test(s) failed"
- fi
-}
-
-multilib-native_src_install_internal() {
- emake \
- DESTDIR="${D}" \
- TCLLIBDIR="/usr/$(get_libdir)/${P}" \
- install \
- || die "emake install failed"
-
- doman sqlite3.1 || die
-
- if use doc ; then
- # Naming scheme changes randomly between - and _ in releases
- # http://www.sqlite.org/cvstrac/tktview?tn=3523
- dohtml -r "${WORKDIR}"/${PN}-${DOC_PV}-docs/* || die
- fi
-}
diff --git a/dev-db/sqlite/sqlite-3.6.15.ebuild b/dev-db/sqlite/sqlite-3.6.15.ebuild
deleted file mode 100644
index 659f028aa..000000000
--- a/dev-db/sqlite/sqlite-3.6.15.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/sqlite/sqlite-3.6.15.ebuild,v 1.1 2009/06/21 00:33:56 arfrever Exp $
-
-EAPI="2"
-
-inherit eutils flag-o-matic multilib versionator multilib-native
-
-DESCRIPTION="an SQL Database Engine in a C Library"
-HOMEPAGE="http://www.sqlite.org/"
-SRC_URI="http://www.sqlite.org/${P}.tar.gz"
-
-LICENSE="as-is"
-SLOT="3"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd"
-IUSE="debug soundex tcl +threadsafe"
-RESTRICT="!tcl? ( test )"
-
-RDEPEND="tcl? ( dev-lang/tcl )"
-DEPEND="${RDEPEND}"
-
-pkg_setup() {
- if has test ${FEATURES} ; then
- if ! has userpriv ${FEATURES} ; then
- ewarn "The userpriv feature must be enabled to run tests."
- eerror "Testsuite will not be run."
- fi
- if ! use tcl ; then
- ewarn "You must enable the tcl use flag if you want to run the testsuite."
- eerror "Testsuite will not be run."
- fi
- fi
-}
-
-src_prepare() {
- # note: this sandbox fix is no longer needed with sandbox-1.3+
- epatch "${FILESDIR}"/sandbox-fix2.patch
-
- epunt_cxx
-}
-
-multilib-native_src_configure_internal() {
- # Enable column metadata, bug #266651
- append-cppflags -DSQLITE_ENABLE_COLUMN_METADATA
-
- # not available via configure and requested in bug #143794
- use soundex && append-cppflags -DSQLITE_SOUNDEX
-
- econf \
- $(use_enable debug) \
- $(use_enable threadsafe) \
- $(use_enable threadsafe cross-thread-connections) \
- $(use_enable tcl)
-}
-
-multilib-native_src_compile_internal() {
- emake TCLLIBDIR="/usr/$(get_libdir)/${P}" || die "emake failed"
-}
-
-src_test() {
- if has userpriv ${FEATURES} ; then
- local test=test
- use debug && test=fulltest
- emake ${test} || die "some test(s) failed"
- fi
-}
-
-multilib-native_src_install_internal() {
- emake \
- DESTDIR="${D}" \
- TCLLIBDIR="/usr/$(get_libdir)/${P}" \
- install \
- || die "emake install failed"
-
- doman sqlite3.1 || die "doman sqlite3.1 failed"
-}