From d2575232ae4e7ed3f868d2aa940fd3d4893540aa Mon Sep 17 00:00:00 2001 From: Saj Goonatilleke Date: Sun, 2 Oct 2011 00:50:13 +1000 Subject: mpop: add option for keychain support Closes #7926. Signed-off-by: Jack Nagel --- Library/Formula/mpop.rb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Library/Formula/mpop.rb') diff --git a/Library/Formula/mpop.rb b/Library/Formula/mpop.rb index 47359f3dd..861d11072 100644 --- a/Library/Formula/mpop.rb +++ b/Library/Formula/mpop.rb @@ -5,8 +5,16 @@ class Mpop < Formula homepage 'http://mpop.sourceforge.net/' md5 '40a48d486121a15075faee944a7b8fb7' + def options + [['--with-macosx-keyring', "Support Mac OS X Keyring"]] + end + def install - system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking" + args = [ "--prefix=#{prefix}", + "--disable-debug", + "--disable-dependency-tracking"] + args << "--with-macosx-keyring" if ARGV.include? '--with-macosx-keyring' + system "./configure", *args system "make install" end end -- cgit v1.2.3