Skip to content

Commit

Permalink
emacs: add optional mailutils dependency
Browse files Browse the repository at this point in the history
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/legacy-homebrew#31219.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
  • Loading branch information
hadenpike authored and jacknagel committed Aug 1, 2014
1 parent a33dc9b commit a86e324
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Formula/emacs.rb
Expand Up @@ -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
Expand Down Expand Up @@ -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?

Expand Down

0 comments on commit a86e324

Please sign in to comment.