From f65ae1fdf64c7dbd81258fa731f29416ebbb4078 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sat, 8 Jun 2013 21:33:48 -0500 Subject: gettext: rename Emacs class which is used by the Emacs formula --- Library/Formula/gettext.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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' -- cgit v1.2.3