diff options
| author | Jack Nagel | 2013-06-08 21:33:48 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-06-08 21:33:48 -0500 |
| commit | f65ae1fdf64c7dbd81258fa731f29416ebbb4078 (patch) | |
| tree | ba21996f46493b411fe7e392bd06e33245fa6164 /Library | |
| parent | e0cc2182d03095820926fe17546124b6f5ad5990 (diff) | |
| download | homebrew-f65ae1fdf64c7dbd81258fa731f29416ebbb4078.tar.bz2 | |
gettext: rename Emacs class which is used by the Emacs formula
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/gettext.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/gettext.rb b/Library/Formula/gettext.rb index cb8f41070..e52580844 100644 --- a/Library/Formula/gettext.rb +++ b/Library/Formula/gettext.rb @@ -1,6 +1,6 @@ require 'formula' -class Emacs < Requirement +class EmacsRequirement < Requirement fatal true satisfy { which('emacs') } @@ -27,7 +27,7 @@ class Gettext < Formula option 'with-emacs', 'Build with emacs support' option 'with-examples', 'Keep example files' - depends_on Emacs if build.include? "with-emacs" + depends_on EmacsRequirement if build.include? "with-emacs" def patches unless build.include? 'with-examples' |
