diff options
| author | Jack Nagel | 2013-04-13 01:35:38 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-04-13 01:35:40 -0500 |
| commit | 111a8b73c1299d66007b4d7c7a8a79552b5cd762 (patch) | |
| tree | b34f16235938ffb767fc4b6a635a4a847d25824a /Library/Formula | |
| parent | 6649cac3051123adc14a2b64fdd38c416983fc92 (diff) | |
| download | homebrew-111a8b73c1299d66007b4d7c7a8a79552b5cd762.tar.bz2 | |
mu: needs stdenv to find emacs
Refs #19153.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/mu.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/Formula/mu.rb b/Library/Formula/mu.rb index 3e7fd0b24..9b50c5ea3 100644 --- a/Library/Formula/mu.rb +++ b/Library/Formula/mu.rb @@ -35,17 +35,19 @@ class Mu < Formula depends_on 'glib' depends_on 'gmime' depends_on 'xapian' - depends_on Emacs23Installed if build.include? 'with-emacs' + depends_on Emacs23Installed if build.with? 'emacs' if build.head? depends_on 'automake' => :build depends_on 'libtool' => :build end + env :std if build.with? 'emacs' + def install # Explicitly tell the build not to include emacs support as the version # shipped by default with Mac OS X is too old. - ENV['EMACS'] = 'no' unless build.include? 'with-emacs' + ENV['EMACS'] = 'no' unless build.with? 'emacs' system 'autoreconf', '-ivf' if build.head? system "./configure", "--disable-dependency-tracking", |
