diff options
| author | Hector Zhao | 2015-01-23 00:19:19 +0800 | 
|---|---|---|
| committer | Mike McQuaid | 2015-01-22 19:28:16 +0100 | 
| commit | 8c8517dd253a08694e1555fc00775786c0408b85 (patch) | |
| tree | 4cc1ed1b13f4500a8f3cae6b4a24985e328159a7 /Library/Formula/sqlite.rb | |
| parent | f83d7f89d4f2a967f219a72c2cf7de07fbe356cc (diff) | |
| download | homebrew-8c8517dd253a08694e1555fc00775786c0408b85.tar.bz2 | |
sqlite: add secure_delete, unlock_notify options.
Closes #36140.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula/sqlite.rb')
| -rw-r--r-- | Library/Formula/sqlite.rb | 4 | 
1 files changed, 4 insertions, 0 deletions
| diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb index 8e4982f95..0e851cd7f 100644 --- a/Library/Formula/sqlite.rb +++ b/Library/Formula/sqlite.rb @@ -17,6 +17,8 @@ class Sqlite < Formula    option "with-docs", "Install HTML documentation"    option "without-rtree", "Disable the R*Tree index module"    option "with-fts", "Enable the FTS module" +  option "with-secure-delete", "Defaults secure_delete to on" +  option "with-unlock-notify", "Enable the unlock notification feature"    option "with-icu4c", "Enable the ICU module"    option "with-functions", "Enable more math and string functions for SQL queries" @@ -39,6 +41,8 @@ class Sqlite < Formula      ENV.append "CPPFLAGS", "-DSQLITE_ENABLE_RTREE" if build.with? "rtree"      ENV.append "CPPFLAGS", "-DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS" if build.with? "fts"      ENV.append "CPPFLAGS", "-DSQLITE_ENABLE_COLUMN_METADATA" +    ENV.append "CPPFLAGS", "-DSQLITE_SECURE_DELETE" if build.with? "secure-delete" +    ENV.append "CPPFLAGS", "-DSQLITE_ENABLE_UNLOCK_NOTIFY" if build.with? "unlock-notify"      if build.with? "icu4c"        icu4c = Formula["icu4c"] | 
