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,13 +32,7 @@ class Mutt <Formula
end
def install
if ARGV.include? '--enable-debug'
debug = "--enable-debug"
else
debug = "--disable-debug"
end
system "./configure", "#{debug}", "--disable-dependency-tracking",
args = ["--disable-dependency-tracking",
"--disable-warnings",
"--prefix=#{prefix}",
"--with-ssl",
@ -54,6 +48,15 @@ class Mutt <Formula
# 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'
args << "--enable-debug"
else
args << "--disable-debug"
end
system "./configure", *args
system "make install"
end
end