From fdb6ac762427bdcf1ea8bf859f46596e61cbbec3 Mon Sep 17 00:00:00 2001 From: phinze Date: Thu, 26 May 2011 23:11:42 -0500 Subject: mutt: add --with-slang option Apparently slang deals with the Solarized color scheme better than ncurses. Signed-off-by: Adam Vandenberg --- Library/Formula/mutt.rb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Library') diff --git a/Library/Formula/mutt.rb b/Library/Formula/mutt.rb index ebb589bf1..9bfa67494 100644 --- a/Library/Formula/mutt.rb +++ b/Library/Formula/mutt.rb @@ -6,12 +6,14 @@ class Mutt < Formula md5 'a29db8f1d51e2f10c070bf88e8a553fd' depends_on 'tokyo-cabinet' + depends_on 'slang' if ARGV.include? '--with-slang' def options [ ['--enable-debug', "Build with debug option enabled"], ['--sidebar-patch', "Apply sidebar (folder list) patch"], - ['--trash-patch', "Apply trash folder patch"] + ['--trash-patch', "Apply trash folder patch"], + ['--with-slang', "Build against slang instead of ncurses"] ] end @@ -55,6 +57,10 @@ class Mutt < Formula args << "--disable-debug" end + if ARGV.include? '--with-slang' + args << "--with-slang" + end + system "./configure", *args system "make install" end -- cgit v1.2.3