notmuch: fix emacs build

Implemented changes per Homebrew/homebrew#28959.

Closes Homebrew/homebrew#28982.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Andrew Schwartzmeyer 2014-05-05 14:02:37 -07:00 committed by Jack Nagel
parent 4526f79ee0
commit dfb2539810

View file

@ -17,7 +17,8 @@ class Notmuch < Formula
def install
args = ["--prefix=#{prefix}"]
if build.include? "emacs"
if build.with? "emacs"
ENV.deparallelize # Emacs and parallel builds aren't friends
args << "--with-emacs"
else
args << "--without-emacs"