aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mpop.rb
diff options
context:
space:
mode:
authorSaj Goonatilleke2011-10-02 00:50:13 +1000
committerJack Nagel2012-02-01 19:58:55 -0600
commitd2575232ae4e7ed3f868d2aa940fd3d4893540aa (patch)
tree5da2540463cc3e26120e8df1bbf80f2c7e9db848 /Library/Formula/mpop.rb
parentcbe247138d2cbe2c68bda7984b0ce0626d825c90 (diff)
downloadhomebrew-d2575232ae4e7ed3f868d2aa940fd3d4893540aa.tar.bz2
mpop: add option for keychain support
Closes #7926. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/mpop.rb')
-rw-r--r--Library/Formula/mpop.rb10
1 files changed, 9 insertions, 1 deletions
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