aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2011-01-16 17:37:37 -0800
committerAdam Vandenberg2011-01-16 17:37:37 -0800
commitac1046c7d1606cc76b545f439316cb9c5d5e6c05 (patch)
tree8c8664588910178516433b9b3af9c9c60c9c140e /Library/Formula
parent1d9247c1ac7451de7df53b5b60e282273046c773 (diff)
downloadhomebrew-ac1046c7d1606cc76b545f439316cb9c5d5e6c05.tar.bz2
mutt - fix audit warning
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/mutt.rb39
1 files changed, 21 insertions, 18 deletions
diff --git a/Library/Formula/mutt.rb b/Library/Formula/mutt.rb
index 3c8f8e70d..91768b3f1 100644
--- a/Library/Formula/mutt.rb
+++ b/Library/Formula/mutt.rb
@@ -32,28 +32,31 @@ class Mutt <Formula
end
def install
+ args = ["--disable-dependency-tracking",
+ "--disable-warnings",
+ "--prefix=#{prefix}",
+ "--with-ssl",
+ "--with-sasl",
+ "--with-gnutls",
+ "--with-gss",
+ "--enable-imap",
+ "--enable-smtp",
+ "--enable-pop",
+ "--enable-hcache",
+ "--with-tokyocabinet",
+ # 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"
+ ]
+
if ARGV.include? '--enable-debug'
- debug = "--enable-debug"
+ args << "--enable-debug"
else
- debug = "--disable-debug"
+ args << "--disable-debug"
end
- system "./configure", "#{debug}", "--disable-dependency-tracking",
- "--disable-warnings",
- "--prefix=#{prefix}",
- "--with-ssl",
- "--with-sasl",
- "--with-gnutls",
- "--with-gss",
- "--enable-imap",
- "--enable-smtp",
- "--enable-pop",
- "--enable-hcache",
- "--with-tokyocabinet",
- # 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"
+ system "./configure", *args
system "make install"
end
end