From a86e324be77b65862b57cc3d9e154afbe2a11233 Mon Sep 17 00:00:00 2001 From: Haden Pike Date: Tue, 29 Jul 2014 13:51:14 -0400 Subject: [PATCH] emacs: add optional mailutils dependency The Homebrew Mailutils is more powerful than the version which comes with Emacs. This option allows the user to install Homebrew's version instead. Closes Homebrew/homebrew#31219. Signed-off-by: Jack Nagel --- Formula/emacs.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Formula/emacs.rb b/Formula/emacs.rb index d55f34a035ecb..59d9736a9ce66 100644 --- a/Formula/emacs.rb +++ b/Formula/emacs.rb @@ -61,6 +61,7 @@ class Emacs < Formula depends_on 'gnutls' => :optional depends_on "librsvg" => :optional depends_on "imagemagick" => :optional + depends_on "mailutils" => :optional fails_with :llvm do build 2334 @@ -96,6 +97,7 @@ def install end args << "--with-rsvg" if build.with? "librsvg" args << "--with-imagemagick" if build.with? "imagemagick" + args << "--without-popmail" if build.with? "mailutils" system "./autogen.sh" if build.head?