As outlined on sqlite's website, it seems like we really should be using the "amalgamation" tarball for building sqlite: http://www.sqlite.org/download.html Further, 3.6.21 seems to build quite fine without requiring TCL to be installed on the system, so this can probably be dropped from the DEPEND section. This is on a fully up-to-date amd64 system: [ebuild R ] dev-db/sqlite-3.6.21 USE="readline threadsafe -debug -doc -fts3 -icu -soundex -tcl" 0 kB [?=>1] [ebuild N ] dev-lang/tcl-8.5.7 USE="-debug -threads" 4,319 kB Attached is a diff that builds the package well for me, and things like firefox still seem to behave fine. Reproducible: Always
Created attachment 213150 [details, diff] Patch to use amalgamation
Amalgamation tarball doesn't contain tests and TCL bindings.
(In reply to comment #2) > Amalgamation tarball doesn't contain tests and TCL bindings. > What about using a USE flag to distinguish them ? I think the TCL dep kinda sucks, and alot of people don't need the extra stuff.
*** Bug 297213 has been marked as a duplicate of this bug. ***
Created attachment 213248 [details, diff] sqlite amalgamation patch Attached is an updated patch, handling the case for +tcl and +test
re-opening, with an updated patch that will handle the scenario of wanting tcl bindings or tests to be ran. This will, if desired, pull in the proper tarballs for each scenario, allowing users to use the amalgamation sources if they do not need tcl or tests ran.
Created attachment 213250 [details, diff] Proper patch for SRC_URI Sorry, last upload was the wrong file - this one should be good.
+ 19 Dec 2009; Petteri Räty <betelgeuse@gentoo.org> sqlite-3.6.21.ebuild: + Make building work without tcl installed using the amalgamation tarball + from upstream. Fixes tests to work with -tcl. Thanks to Andrew + <abrouwers@gmail.com>. Fixes bug #297113 and bug #297332. +