aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAdam Vandenberg2011-06-13 15:18:46 -0700
committerAdam Vandenberg2011-06-13 15:18:46 -0700
commitb6cb5c8e9010be6aba6380fe0bed04fdc32cf349 (patch)
tree1f6b70fd1b9c3f5f63ede22ec3b1988a00a489bb
parentfdb6ac762427bdcf1ea8bf859f46596e61cbbec3 (diff)
downloadhomebrew-b6cb5c8e9010be6aba6380fe0bed04fdc32cf349.tar.bz2
mutt: clean up formula a bit
-rw-r--r--Library/Formula/mutt.rb11
1 files changed, 3 insertions, 8 deletions
diff --git a/Library/Formula/mutt.rb b/Library/Formula/mutt.rb
index 9bfa67494..fb42a0a59 100644
--- a/Library/Formula/mutt.rb
+++ b/Library/Formula/mutt.rb
@@ -18,8 +18,7 @@ class Mutt < Formula
end
def patches
- # Fix unsubscribe malformed folder
- p = Array.new
+ p = []
if ARGV.include? '--sidebar-patch'
p << 'https://raw.github.com/nedos/mutt-sidebar-patch/master/mutt-sidebar.patch'
@@ -48,8 +47,8 @@ class Mutt < Formula
# This is just a trick to keep 'make install' from trying to chgrp
# the mutt_dotlock file (which we can't do if we're running as an
# unpriviledged user)
- "--with-homespool=.mbox"
- ]
+ "--with-homespool=.mbox"]
+ args << "--with-slang" if ARGV.include? '--with-slang'
if ARGV.include? '--enable-debug'
args << "--enable-debug"
@@ -57,10 +56,6 @@ class Mutt < Formula
args << "--disable-debug"
end
- if ARGV.include? '--with-slang'
- args << "--with-slang"
- end
-
system "./configure", *args
system "make install"
end