aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Formula/msmtp.rb16
1 files changed, 15 insertions, 1 deletions
diff --git a/Library/Formula/msmtp.rb b/Library/Formula/msmtp.rb
index 40c4fb61d..7750a264e 100644
--- a/Library/Formula/msmtp.rb
+++ b/Library/Formula/msmtp.rb
@@ -5,8 +5,22 @@ class Msmtp <Formula
homepage 'http://msmtp.sourceforge.net'
md5 'f0afdc943bf7c8a3a3bf3fe1a73072c4'
+ def options
+ [
+ ['--with-macosx-keyring', "Support Mac OS X Keyring"]
+ ]
+ end
+
def install
- system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
+ configure_args = [
+ "--prefix=#{prefix}",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ ]
+
+ configure_args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring'
+
+ system "./configure", *configure_args
system "make install"
end
end