aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/msmtp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/msmtp.rb')
-rw-r--r--Library/Formula/msmtp.rb16
1 files changed, 5 insertions, 11 deletions
diff --git a/Library/Formula/msmtp.rb b/Library/Formula/msmtp.rb
index c7f1030a2..c0fd91d50 100644
--- a/Library/Formula/msmtp.rb
+++ b/Library/Formula/msmtp.rb
@@ -6,21 +6,15 @@ class Msmtp <Formula
md5 '065042eaaee40c2779cf0bcfffe72aae'
def options
- [
- ['--with-macosx-keyring', "Support Mac OS X Keyring"]
- ]
+ [['--with-macosx-keyring', "Support Mac OS X Keyring"]]
end
def install
- configure_args = [
- "--prefix=#{prefix}",
- "--disable-debug",
- "--disable-dependency-tracking",
- ]
+ args = [ "--disable-dependency-tracking", "--disable-debug",
+ "--prefix=#{prefix}" ]
+ args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring'
- configure_args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring'
-
- system "./configure", *configure_args
+ system "./configure", *args
system "make install"
end
end