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:
parent
4526f79ee0
commit
dfb2539810
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue