diff options
| author | Tuncer Ayaz | 2010-01-28 23:14:05 +0100 |
|---|---|---|
| committer | Adam Vandenberg | 2010-01-30 22:50:21 -0800 |
| commit | beb40ca56c20b2527285839aad27fb8cf55e4f13 (patch) | |
| tree | 6461d525b4d4ebaa480f11b7f59f04e2f5b4b460 /Library/Formula/msmtp.rb | |
| parent | df1e55a62b7ecef91a145688d4af38cbace5ffc3 (diff) | |
| download | homebrew-beb40ca56c20b2527285839aad27fb8cf55e4f13.tar.bz2 | |
msmtp: add option to build with Mac OSX Keychain support
Added --with-macosx-keyring option to enable the configure
option of the same name.
Signed-off-by: Tuncer Ayaz <tuncer.ayaz@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/msmtp.rb')
| -rw-r--r-- | Library/Formula/msmtp.rb | 16 |
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 |
