aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-12-10 19:54:02 -0600
committerJack Nagel2011-12-10 20:06:08 -0600
commitcdb00fad5198f74cfc2f20541f24d86e13466b48 (patch)
tree2354608c2be1494263e01642ffd3a4a15c3c5034 /Library
parent29cbb4f6d4029542322be199a1b7d78b9a7f1d90 (diff)
downloadhomebrew-cdb00fad5198f74cfc2f20541f24d86e13466b48.tar.bz2
sqlite: "optionally" depend on readline
Using readline rather than libedit allows, among other things, the sharing of the same line-editing config file (.inputrc) across BSDish and Linux systems. And I'm lazy, and don't want to learn how to configure editline. We currently just throw away :optional when processing dependencies, so if someone really wants libedit instead, we can either make this into an install option (--with-readline) or vice-versa (--with-libedit). Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/sqlite.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/sqlite.rb b/Library/Formula/sqlite.rb
index a0881aa11..e802bf148 100644
--- a/Library/Formula/sqlite.rb
+++ b/Library/Formula/sqlite.rb
@@ -12,6 +12,8 @@ class Sqlite < Formula
sha1 'a9da98a4bde4d9dae5c29a969455d11a03600e11'
version '3.7.9'
+ depends_on 'readline' => :optional
+
def options
[
["--with-rtree", "Enable the R*Tree index module"],