From cdb00fad5198f74cfc2f20541f24d86e13466b48 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 10 Dec 2011 19:54:02 -0600 Subject: 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 --- Library/Formula/sqlite.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') 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"], -- cgit v1.2.3