Skip to content

Commit

Permalink
msmtp: Delete unnecessary option code
Browse files Browse the repository at this point in the history
Msmtp will enable support for the OS X Keychain by default on Macs.  No need to ask for it.

Closes Homebrew#20753.

Signed-off-by: Adam Vandenberg <[email protected]>
  • Loading branch information
chdiza authored and adamv committed Jun 24, 2013
1 parent fcaafdc commit 85e966a
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Library/Formula/msmtp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,17 @@ class Msmtp < Formula
url 'http:https://downloads.sourceforge.net/project/msmtp/msmtp/1.4.31/msmtp-1.4.31.tar.bz2'
sha1 'c0edce1e1951968853f15209c8509699ff9e9ab5'

option 'with-macosx-keyring', "Support Mac OS X Keyring"

depends_on 'pkg-config' => :build

# msmtp enables OS X Keychain support by default, so no need to ask for it.

def install
args = %W[
--disable-dependency-tracking
--prefix=#{prefix}
]
args << "--with-macosx-keyring" if build.include? 'with-macosx-keyring'

system "./configure", *args
system "make install"
system "make", "install"
end
end

0 comments on commit 85e966a

Please sign in to comment.