mutt - fix audit warning

This commit is contained in:
Adam Vandenberg 2011-01-16 17:37:37 -08:00
parent f723b6411c
commit a14034c45b

View file

@ -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