From dfb2539810d656e3a144fcd0215a06b07e11c9df Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Mon, 5 May 2014 14:02:37 -0700 Subject: [PATCH] notmuch: fix emacs build Implemented changes per Homebrew/homebrew#28959. Closes Homebrew/homebrew#28982. Signed-off-by: Jack Nagel --- Formula/notmuch.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Formula/notmuch.rb b/Formula/notmuch.rb index 05f8f3bc6a..dc13ff68db 100644 --- a/Formula/notmuch.rb +++ b/Formula/notmuch.rb @@ -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"