mutt - fix audit warning
This commit is contained in:
parent
f723b6411c
commit
a14034c45b
1 changed files with 21 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue