aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorHaden Pike2014-07-29 13:51:14 -0400
committerJack Nagel2014-07-31 21:29:30 -0500
commitb551fd4e342cd0bfd24a2812652b26fb269a4fbc (patch)
treed03d50d578d26144aff959e02e2db67fe785eb1d /Library
parent4226386ef99e71c149b0bb45cba4dca5c52e6054 (diff)
downloadhomebrew-b551fd4e342cd0bfd24a2812652b26fb269a4fbc.tar.bz2
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 #31219. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/emacs.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Formula/emacs.rb b/Library/Formula/emacs.rb
index d55f34a03..59d9736a9 100644
--- a/Library/Formula/emacs.rb
+++ b/Library/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 @@ class Emacs < Formula
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?