aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/notmuch.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/notmuch.rb b/Library/Formula/notmuch.rb
index 05f8f3bc6..dc13ff68d 100644
--- a/Library/Formula/notmuch.rb
+++ b/Library/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"