--- dev-db/sqlite/sqlite-3.6.22-r1.ebuild 2010-02-04 03:55:22.000000000 -0600 +++ dev-db/sqlite/sqlite-3.6.22-r2.ebuild 2010-02-09 21:07:11.133325705 -0600 @@ -22,7 +22,7 @@ LICENSE="as-is" SLOT="3" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="debug doc extensions +fts3 icu +readline soundex tcl +threadsafe test" +IUSE="debug doc extensions +fts3 icu +readline +secure-delete soundex tcl +threadsafe test" RDEPEND="icu? ( dev-libs/icu ) readline? ( sys-libs/readline ) @@ -76,6 +76,11 @@ append-cppflags -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS fi + # We need to use secure-delete for firefox/thunderbird/xulrunner + if use secure-delete; then + append-cppflags -DSQLITE_SECURE_DELETE=1 -DSQLITE_CHECK_PAGES=1 -DSQLITE_CORE=1 + fi + # The amalgamation source doesn't have these via Makefile if use debug; then append-cppflags -DSQLITE_DEBUG=1