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